Packer templates for building Vagrant boxes customized by Evolix.
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 2.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. # Reglages locaux
  2. d-i debian-installer/language string en
  3. d-i debian-installer/country string FR
  4. d-i debian-installer/locale string en_US.UTF-8
  5. d-i keyboard-configuration/xkb-keymap select fr(latin9)
  6. # Interface
  7. d-i netcfg/choose_interface select auto
  8. # Hostnames
  9. d-i netcfg/get_hostname string unassigned-hostname
  10. d-i netcfg/get_domain string unassigned-domain
  11. d-i netcfg/hostname string evolinux
  12. # Mirror
  13. d-i mirror/country string manual
  14. d-i mirror/http/hostname string mirror.evolix.org
  15. d-i mirror/http/directory string /debian
  16. d-i mirror/http/proxy string
  17. # User Account
  18. d-i passwd/root-login boolean false
  19. d-i passwd/user-fullname string packer
  20. d-i passwd/username string packer
  21. d-i passwd/user-password password packer
  22. d-i passwd/user-password-again password packer
  23. d-i passwd/user-uid string 999
  24. # Clock and time zone
  25. d-i clock-setup/utc boolean true
  26. d-i time/zone string Europe/Paris
  27. d-i clock-setup/ntp boolean true
  28. d-i clock-setup/ntp-server string ntp.evolix.net
  29. # Partitionnement
  30. d-i partman-auto/disk string /dev/vda
  31. d-i partman-auto/method string regular
  32. d-i partman-lvm/device_remove_lvm boolean true
  33. d-i partman-md/device_remove_md boolean true
  34. d-i partman-auto/choose_recipe select atomic
  35. d-i partman-partitioning/confirm_write_new_label boolean true
  36. d-i partman/choose_partition select finish
  37. d-i partman/confirm boolean true
  38. d-i partman/confirm_nooverwrite boolean true
  39. # Installation
  40. tasksel tasksel/first multiselect ssh-server
  41. d-i pkgsel/include string python-apt
  42. d-i pkgsel/upgrade select full-upgrade
  43. # Bootloader
  44. d-i grub-installer/only_debian boolean true
  45. d-i grub-installer/with_other_os boolean true
  46. d-i grub-installer/bootdev string /dev/vda
  47. d-i grub-installer/timeout string 0
  48. # Kernel
  49. d-i debian-installer/add-kernel-opts string net.ifnames=0 biosdevname=0
  50. # Finalisation
  51. d-i finish-install/reboot_in_progress note
  52. d-i cdrom-detect/eject boolean true
  53. d-i preseed/late_command string \
  54. in-target sed -i 's/^%sudo.*$/%sudo ALL=(ALL:ALL) NOPASSWD: ALL/g' /etc/sudoers;