templates/debian/preseed.cfg in boxes-3.5.0 vs templates/debian/preseed.cfg in boxes-3.6.0
- old
+ new
@@ -27,10 +27,11 @@
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
@@ -52,11 +53,10 @@
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
-d-i preseed/late_command string sed -i '/^deb cdrom:/s/^/#/' /target/etc/apt/sources.list
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
@@ -70,5 +70,11 @@
# 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