Advertisement
Guest User

Debian - automated install - Preseed with PXE boot

a guest
Aug 26th, 2014
689
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 KB | None | 0 0
  1. # Localization
  2. d-i debian-installer/locale string en_US
  3. d-i console-keymaps-at/keymap select us
  4. d-i console-setup/ask_detect boolean false
  5. d-i keyboard-configuration/xkb-keymap select us
  6. d-i keyboard-configuration/layoutcode string us
  7.  
  8. # Networking
  9. d-i netcfg/choose_interface select auto
  10. d-i netcfg/get_hostname string unassigned-hostname
  11. d-i netcfg/get_domain string unassigned-domain
  12.  
  13. # APT Mirror
  14. d-i mirror/country string enter information manually
  15. d-i mirror/http/hostname string http.us.debian.org
  16. d-i mirror/http/directory string /debian
  17. d-i mirror/suite string testing
  18. d-i mirror/http/proxy string
  19.  
  20. # Timezone / Time
  21. d-i clock-setup/utc boolean true
  22. d-i time/zone string US/Central
  23. d-i clock-setup/ntp boolean true
  24. d-i clock-setup/ntp-server us.pool.ntp.org
  25.  
  26. # Partitoning
  27. d-i partman-auto/disk string /dev/sda
  28. d-i partman-auto/method string regular
  29. d-i partman-auto/expert_recipe string root :: \
  30. 8192 30 10240 ext4 \
  31. $primary{ } $bootable{ } method{ format } \
  32. format{ } use_filesystem{ } filesystem{ ext4 } \
  33. mountpoint{ / } \
  34. . \
  35. 128 35 200% linux-swap \
  36. $primary{ } method{ swap } format{ } \
  37. .
  38. d-i partman-auto/choose_recipe select root
  39. d-i partman-partitioning/confirm_write_new_label boolean true
  40. d-i partman/choose_partition select Finish partitioning and write changes to disk
  41. d-i partman/confirm boolean true
  42. d-i partman/confirm_nooverwrite boolean false
  43.  
  44. # Grub Install
  45. d-i grub-installer/only_debian boolean true
  46. d-i grub-installer/with_other_os boolean true
  47.  
  48. # Account(s) setup
  49. passwd passwd/root-password password debian
  50. passwd passwd/root-password-again password debian
  51. passwd passwd/make-user boolean false
  52.  
  53. # tasksel / extra packages
  54. tasksel tasksel/first multiselect minimal
  55. d-i pkgsel/include string openssh-server screen less vim ntp
  56. d-i pkgsel/exclude string nano
  57. popularity-contest popularity-contest/participate boolean false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement