# # Based upon: https://help.ubuntu.com/12.04/installation-guide/example-preseed.txt # # localisation d-i debian-installer/locale string en_US.utf8 d-i console-keymaps-at/keymap select us # networking d-i netcfg/choose_interface select auto d-i netcfg/get_hostname string unassigned-hostname d-i netcfg/get_domain string unassigned-domain d-i netcfg/wireless_wep string # apt mirrors d-i mirror/country string manual d-i mirror/http/hostname string http.us.debian.org d-i mirror/http/directory string /debian d-i mirror/http/proxy string # clock and time zone d-i clock-setup/utc boolean true d-i time/zone string GMT d-i clock-setup/ntp boolean true # partitioning d-i partman-auto/method string lvm d-i partman-lvm/device_remove_lvm boolean true d-i partman-md/device_remove_md boolean true d-i partman-lvm/confirm boolean true d-i partman-lvm/confirm_nooverwrite boolean true d-i partman-auto-lvm/guided_size string max #d-i partman-auto-lvm/guided_size string max d-i partman-auto/choose_recipe select atomic d-i partman-partitioning/confirm_write_new_label boolean true d-i partman/choose_partition select finish d-i partman/confirm boolean true d-i partman/confirm_nooverwrite boolean true # users d-i passwd/root-login boolean false d-i passwd/user-fullname string Vagrant User d-i passwd/username string vagrant d-i passwd/user-password password vagrant d-i passwd/user-password-again password vagrant d-i user-setup/allow-password-weak boolean true d-i user-setup/encrypt-home boolean false # packages tasksel tasksel/first multiselect standard #d-i pkgsel/install-language-support boolean false d-i pkgsel/include string openssh-server nfs-common curl ntp acpid sudo \ bzip2 rsync git ca-certificates net-tools d-i pkgsel/upgrade select full-upgrade d-i pkgsel/update-policy select none d-i popularity-contest/participate boolean false apt-cdrom-setup apt-setup/cdrom/set-first boolean false apt-mirror-setup apt-setup/use_mirror boolean true postfix postfix/main_mailer_type select No configuration # boot loader d-i grub-installer/bootdev string default d-i grub-installer/only_debian boolean true # hide the shutdown notice d-i finish-install/reboot_in_progress note # advanced options # ensure the default VirtualBox additions doesn't install d-i preseed/early_command string sed -i \ '/in-target/idiscover(){/sbin/discover|grep -v VirtualBox;}' \ /usr/lib/pre-pkgsel.d/20install-hwpackages # change how dhcp leases are fetched, back to using the MAC address to stop # getting new lease during the build d-i preseed/late_command string in-target sed -i \ 's/^#*\(send dhcp-client-identifier\).*$/\1 = hardware;/' \ /etc/dhcp/dhclient.conf