Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

93 rindas
3.1KB

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