preseed.cfg 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. choose-mirror-bin mirror/http/proxy string
  2. d-i base-installer/kernel/override-image string linux-server
  3. d-i clock-setup/utc boolean true
  4. d-i clock-setup/utc-auto boolean true
  5. d-i finish-install/reboot_in_progress note
  6. d-i grub-installer/only_debian boolean true
  7. d-i grub-installer/with_other_os boolean true
  8. d-i partman-auto-lvm/guided_size string max
  9. d-i partman-auto/choose_recipe select atomic
  10. d-i partman-auto/method string lvm
  11. d-i partman-lvm/confirm boolean true
  12. d-i partman-lvm/confirm boolean true
  13. d-i partman-lvm/confirm_nooverwrite boolean true
  14. d-i partman-lvm/device_remove_lvm boolean true
  15. d-i partman/choose_partition select finish
  16. d-i partman/confirm boolean true
  17. d-i partman/confirm_nooverwrite boolean true
  18. d-i partman/confirm_write_new_label boolean true
  19. d-i pkgsel/include string openssh-server linux-source dkms nfs-common curl
  20. d-i pkgsel/install-language-support boolean false
  21. d-i pkgsel/update-policy select none
  22. d-i pkgsel/upgrade select full-upgrade
  23. d-i time/zone string UTC
  24. tasksel tasksel/first multiselect standard, ubuntu-server
  25. d-i console-setup/ask_detect boolean false
  26. d-i keyboard-configuration/layoutcode string us
  27. d-i keyboard-configuration/modelcode string pc105
  28. d-i debian-installer/locale string en_US.UTF-8
  29. # Set the root password
  30. d-i passwd/root-login boolean true
  31. d-i passwd/root-password password vagrant
  32. d-i passwd/root-password-again password vagrant
  33. # Setup the user account
  34. d-i passwd/user-fullname string vagrant
  35. d-i passwd/username string vagrant
  36. d-i passwd/user-password password vagrant
  37. d-i passwd/user-password-again password vagrant
  38. d-i user-setup/allow-password-weak boolean true
  39. d-i user-setup/encrypt-home boolean false
  40. d-i passwd/user-uid string 900
  41. d-i preseed/late_command string \
  42. echo 'vagrant ALL=(ALL) NOPASSWD: ALL' > /target/etc/sudoers.d/vagrant ; \
  43. in-target chmod 440 /etc/sudoers.d/vagrant ;