You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

preseed.cfg.j2 3.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. #### Contents of the preconfiguration file (for jessie)
  2. ### Localization
  3. # Locale
  4. d-i debian-installer/language string de
  5. d-i debian-installer/country string DE
  6. d-i debian-installer/locale string de_DE.UTF-8
  7. # Keyboard selection.
  8. d-i keyboard-configuration/xkb-keymap select de
  9. d-i keyboard-configuration/toggle select No toggling
  10. ### Network configuration
  11. ### Network console
  12. {% if network_console is defined %}
  13. d-i anna/choose_modules string network-console
  14. d-i network-console/password-disabled boolean true
  15. {% endif %}
  16. ### Hostname
  17. d-i netcfg/hostname string {{inventory_hostname}}
  18. ### Mirror settings
  19. d-i mirror/country string manual
  20. d-i mirror/http/hostname string deb.debian.org
  21. d-i mirror/http/directory string /debian
  22. d-i mirror/http/proxy string
  23. ### Account setup
  24. # Skip creation of a root account (normal user account will be able to
  25. # use sudo).
  26. d-i passwd/root-login boolean true
  27. # Alternatively, to skip creation of a normal user account.
  28. d-i passwd/make-user boolean false
  29. # Root password
  30. {% if root_password is defined %}
  31. d-i passwd/root-password-crypted password {{ root_password }}
  32. {% endif %}
  33. ### Clock and time zone setup
  34. d-i clock-setup/utc boolean true
  35. d-i time/zone string Europe/Berlin
  36. d-i clock-setup/ntp boolean true
  37. d-i clock-setup/ntp-server string 0.de.pool.ntp.org 1.de.pool.ntp.org 2.de.pool.ntp.org 3.de.pool.ntp.org
  38. ### Partitioning
  39. ## Controlling how partitions are mounted
  40. # The default is to mount by UUID, but you can also choose "traditional" to
  41. # use traditional device names, or "label" to try filesystem labels before
  42. # falling back to UUIDs.
  43. d-i partman/mount_style select uuid
  44. d-i partman/default_filesystem string btrfs
  45. ### Apt setup
  46. # You can choose to install non-free and contrib software.
  47. d-i apt-setup/non-free boolean {{ debian_installer_nonfree_firmware }}
  48. d-i apt-setup/contrib boolean {{ debian_installer_nonfree_firmware }}
  49. d-i apt-setup/services-select multiselect security,updates
  50. d-i apt-setup/security_host string security.debian.org
  51. ### Package selection
  52. tasksel tasksel/first multiselect minimal
  53. # Individual additional packages to install
  54. d-i pkgsel/include string openssh-server python python-apt
  55. # Whether to upgrade packages after debootstrap.
  56. # Allowed values: none, safe-upgrade, full-upgrade
  57. d-i pkgsel/upgrade select full-upgrade
  58. # Some versions of the installer can report back on what software you have
  59. # installed, and what software you use. The default is not to report back,
  60. # but sending reports helps the project determine what software is most
  61. # popular and include it on CDs.
  62. popularity-contest popularity-contest/participate boolean false
  63. ### Boot loader installation
  64. # This is fairly safe to set, it makes grub install automatically to the MBR
  65. # if no other operating system is detected on the machine.
  66. d-i grub-installer/only_debian boolean true
  67. # This one makes grub-installer install to the MBR if it also finds some other
  68. # OS, which is less safe as it might not be able to boot that other OS.
  69. d-i grub-installer/with_other_os boolean true
  70. ### Finishing up the installation
  71. # Avoid that last message about the install being complete.
  72. d-i finish-install/reboot_in_progress note
  73. ### Running custom commands during the installation
  74. d-i preseed/run string run.sh
  75. d-i preseed/run/checksum string {{ run_sh.stat.checksum }}
  76. d-i preseed/late_command string mkdir -p /target/root/.ssh; cp /.ssh/authorized_keys /target/root/.ssh/authorized_keys;