Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

preseed.cfg.j2 3.4KB

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