25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

100 satır
3.2KB

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