# Locale, country and keyboard settings d-i debian-installer/locale string en_US.UTF-8 d-i console-keymaps-at/keymap select us d-i keyboard-configuration/xkb-keymap select us # Network configuration. d-i netcfg/disable_autoconfig boolean true d-i netcfg/use_autoconfig boolean false #d-i netcfg/disable_dhcp boolean true #d-i netcfg/get_ipaddress string 192.168.191.57 #d-i netcfg/get_netmask string 255.255.254.0 #d-i netcfg/get_nameservers string 192.168.191.254 #d-i netcfg/get_gateway string 192.168.191.254 #d-i netcfg/confirm_static boolean true # NEW -- network console d-i preseed/early_command string anna-install network-console d-i anna/choose_modules string network-console d-i network-console/authorized_keys_url string http://tftp.cs.uchicago.edu/techstaff_ssh_pub_key.txt #d-i network-console/password password thissucks #d-i network-console/password-again password thissucks d-i network-console/start note # NEW -- force EFI d-i partman-efi/non_efi_system boolean true # use the mac address that foreman knows about as the primary #d-i netcfg/choose_interface select d0:8e:79:04:13:64 d-i netcfg/get_hostname string capture-390-2-new.av.cs.uchicago.edu d-i netcfg/get_domain string av.cs.uchicago.edu # phils test #base-config apt-setup/non-free boolean true d-i hw-detect/load_firmware boolean true # Mirror settings d-i mirror/country string manual d-i mirror/http/hostname string mirror.cs.uchicago.edu:80 d-i mirror/http/directory string /ubuntu d-i mirror/http/proxy string d-i mirror/suite string focal d-i mirror/codename string focal d-i mirror/suite string focal d-i mirror/udeb/suite string focal d-i apt-setup/security_host mirror.cs.uchicago.edu d-i apt-setup/security_path /ubuntu # Use HWE kernel d-i base-installer/kernel/image string linux-generic-hwe-20.04 # It seems that the numbers in 'local0' actually matter. # need to interate 0-9 and dynamically assign the local repository number # if there are more repos # Time settings d-i clock-setup/utc boolean true # Got puppet SSL issues? Set your timezone. #d-i time/zone string UTC d-i time/zone string America/Chicago d-i clock-setup/ntp boolean true d-i clock-setup/ntp-server string 'net-ntp00.uchicago.edu' # Partitioning # because bug in d-i. Remove when ubuntu gets its act together. d-i partman/early_command string /sbin/vgscan 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-md/confirm boolean true d-i partman-md/confirm_nooverwrite boolean true d-i partman/confirm boolean true d-i partman/confirm_nooverwrite boolean true d-i partman-auto/method string lvm d-i partman/early_command string debconf-set partman-auto/disk "$(list-devices disk | head -n1)" # d-i partman-auto/disk string /dev/sda d-i partman/choose_partition select finish d-i partman-partitioning/confirm_write_new_label boolean true d-i partman/mount_style select uuid d-i partman-auto-lvm/new_vg_name string bootdisk d-i partman-auto-lvm/guided_size string max d-i partman-auto/choose_recipe select atomic d-i partman/default_filesystem string ext4 # User settings d-i passwd/root-password-crypted password $6$25pVlsru$Qr6Hr3L7KQPAsk8z8RZnwvKMgTiCBgbSOI2FBLQL2IJWUYNaXQkEnuH1wQACM8Qhq.p1mST9P.63ZRygAWGUP1 user-setup-udeb passwd/root-login boolean true d-i passwd passwd/make-user boolean false user-setup-udeb passwd/make-user boolean false # Ubuntu minimal == Debian standard tasksel tasksel/first multiselect minimal # we don't need/want backports, but in case you are looking: # d-i apt-setup/backports boolean true # Install some base packages d-i pkgsel/include string lsb-release openssh-server gnupg nano d-i pkgsel/update-policy select none popularity-contest popularity-contest/participate boolean false # # # FIXME: Things are a bit broken on debian with LVM. grub-install fails because there are no device nodes in the chroot at the time when di tries to run it. # temporary workaround: Alt+F2 to secondary VT, mount -o bind /dev /target/dev, Alt+F1 back to main VT, acknowledge error, then retry grub install. # I didn't have any more time for investigating a fix, so I did this manually. - 20191008, Debian Buster PVE install # try to avoid being prompted when an OS already existed ###d-i grub-installer/only_debian boolean true ###d-i grub-installer/with_other_os boolean true # grub-installer grub-installer/grub2_instead_of_grub_legacy boolean true # not tested but seems good d-i finish-install/reboot_in_progress note #d-i preseed/late_command string wget -Y off http://foreman.cs.uchicago.edu/unattended/finish?token=8c6d6e19-6d44-4510-8bfc-34fbd68cb2ce -O /target/tmp/finish.sh && in-target chmod +x /tmp/finish.sh && in-target /tmp/finish.sh