working preseeds for two devices

master
Jeff Moe 3 years ago
parent 04ee776b14
commit 47a2efec81

@ -0,0 +1,20 @@
#!ipxe
dhcp
set base-url http://ftp.debian.org/debian/dists/buster/main/installer-amd64/current/images/netboot/debian-installer/amd64/
set preseed-url https://code.forksand.com/forksand/eqx/raw/branch/master/preseed.cfg
# XXX Set preseed md5 sum
#set preseed-url-checksum a6bec490964ddb13db456383132a8e62
set kern-opts DEBIAN_FRONTEND=noninteractive console=tty1 console=ttyS1,115200n8 install vga=0 fb=none nomodeset debug auto=true priority=high locale=en_US.UTF-8 keymap=us language=us country=US
# Boot Installer Kernel with Preseed
kernel ${base-url}/linux preseed/url=${preseed-url} ${kern-opts} ---
# XXX add updated preseed checksum to kern opts:
#kernel ${base-url}/linux preseed/url=${preseed-url} preseed/url/checksum=${preseed-url-checksum} ${kern-opts} ---
initrd ${base-url}/initrd.gz
boot

@ -0,0 +1,20 @@
#!ipxe
dhcp
set base-url http://ftp.debian.org/debian/dists/buster/main/installer-amd64/current/images/netboot/debian-installer/amd64/
set preseed-url https://code.forksand.com/forksand/eqx/raw/branch/master/preseed.cfg
# XXX Set preseed md5 sum
#set preseed-url-checksum a6bec490964ddb13db456383132a8e62
set kern-opts DEBIAN_FRONTEND=noninteractive console=tty1 console=ttyS1,115200n8 install vga=0 fb=none nomodeset debug auto=true priority=high locale=en_US.UTF-8 keymap=us language=us country=US
# Boot Installer Kernel with Preseed
kernel ${base-url}/linux preseed/url=${preseed-url} ${kern-opts} ---
# XXX add updated preseed checksum to kern opts:
#kernel ${base-url}/linux preseed/url=${preseed-url} preseed/url/checksum=${preseed-url-checksum} ${kern-opts} ---
initrd ${base-url}/initrd.gz
boot

@ -0,0 +1,51 @@
d-i debian-installer/locale string en_US.UTF-8
d-i debian-installer/language string en
d-i debian-installer/country string US
d-i keyboard-configuration/xkb-keymap select us
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
d-i anna/choose_modules string network-console
d-i network-console/authorized_keys_url string https://util.forksand.com/id_ed25519-eqx.pub
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
d-i passwd/root-password-crypted password $6$SDZfbkZcl49p$oiZg0COlkdrBMWIN9AmyZ4EYQ/LWh5oOkipBM5aRuuOn0/FCKCmR9PpiwPqaMCIvgpHUj31gKXmIKA/gwGzNh1
d-i passwd/user-fullname string Debian User
d-i passwd/username string debian
d-i passwd/user-password-crypted password $6$6wF7qmBs$tPwXIyZOZs1o8UzCKkg2XD35WHjMWpPe33t62RkrnD1Rn1GQlLgN28eJmO6TULGSfxsBOjq.LUHUSccX2p9JR/
d-i clock-setup/utc boolean true
d-i time/zone string UTC
d-i clock-setup/ntp boolean true
d-i partman-auto/disk string /dev/sda
d-i partman-auto/method string lvm
d-i partman-auto-lvm/guided_size string max
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/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
d-i partman-md/confirm boolean true
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
d-i base-installer/install-recommends boolean false
tasksel tasksel/first multiselect standard
d-i pkgsel/include string openssh-server sudo iptables apt-transport-https bzip2 ca-certificates colordiff cpufrequtils curl debian-archive-keyring exuberant-ctags git haveged host less locales lsb-release lshw net-tools ntp rsync telnet traceroute vim vim-scripts
d-i pkgsel/upgrade select full-upgrade
popularity-contest popularity-contest/participate boolean false
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i grub-installer/bootdev string default
d-i debian-installer/add-kernel-opts string console=tty0 console=ttyS1,115200n8 ipv6.disable=1
d-i finish-install/keep-consoles boolean true
d-i finish-install/reboot_in_progress note
#d-i preseed/run string https://code.forksand.com/forksand/eqx/raw/branch/master/preseed-late.sh

@ -0,0 +1,58 @@
d-i debian-installer/locale string en_US.UTF-8
d-i debian-installer/language string en
d-i debian-installer/country string US
d-i keyboard-configuration/xkb-keymap select us
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
d-i anna/choose_modules string network-console
d-i network-console/authorized_keys_url string https://util.forksand.com/id_ed25519-eqx.pub
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
d-i passwd/root-password-crypted password $6$SDZfbkZcl49p$oiZg0COlkdrBMWIN9AmyZ4EYQ/LWh5oOkipBM5aRuuOn0/FCKCmR9PpiwPqaMCIvgpHUj31gKXmIKA/gwGzNh1
d-i passwd/user-fullname string Debian User
d-i passwd/username string debian
d-i passwd/user-password-crypted password $6$6wF7qmBs$tPwXIyZOZs1o8UzCKkg2XD35WHjMWpPe33t62RkrnD1Rn1GQlLgN28eJmO6TULGSfxsBOjq.LUHUSccX2p9JR/
d-i clock-setup/utc boolean true
d-i time/zone string UTC
d-i clock-setup/ntp boolean true
# Set simple partition
d-i partman-auto/disk string /dev/sda
d-i partman-auto/select_disk select /dev/sda
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-md/device_remove_md boolean true
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
d-i partman-auto/method string regular
d-i partman-auto/choose_recipe select multi
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
d-i base-installer/install-recommends boolean false
tasksel tasksel/first multiselect standard
d-i pkgsel/include string openssh-server sudo iptables apt-transport-https bzip2 ca-certificates colordiff cpufrequtils curl debian-archive-keyring exuberant-ctags git haveged host less locales lsb-release lshw net-tools nvme-cli ntp parted rsync telnet traceroute vim vim-scripts
d-i pkgsel/upgrade select full-upgrade
popularity-contest popularity-contest/participate boolean false
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
#d-i grub-installer/bootdev string default
d-i grub-installer/bootdev string /dev/sda
#d-i grub-pc grub-pc/install_devices string /dev/sda
d-i debian-installer/add-kernel-opts string console=tty0 console=ttyS1,115200n8 ipv6.disable=1
d-i finish-install/keep-consoles boolean true
d-i finish-install/reboot_in_progress note
#d-i preseed/run string https://code.forksand.com/forksand/eqx/raw/branch/master/preseed-late.sh
Loading…
Cancel
Save