Add preseed hosting

This commit is contained in:
Elizabeth Cray committed 2026-10-23 07:54:55 -04:00
1 parent 919deeb191
commit 484fdcf94d
2 files changed
+57

No files matched your search

+51
View File
@@ -0,0 +1,51 @@
## Added
d-i debian-installer/language string en
d-i debian-installer/country string US
d-i debian-installer/locale string en_US.UTF-8
d-i localechooser/shortlist select US
d-i localechooser/preferred-locale select en_US.UTF-8
d-i localechooser/languagelist select en
d-i keyboard-configuration/xkb-keymap select us
# %Loading additional Components%
d-i netcfg/choose_interface select auto
# To pick a particular interface instead:
#d-i netcfg/choose_interface select eth1
# TODO: Setup WPA
d-i netcfg/get_hostname string lindsay
d-i netcfg/get_domain string hacdc.org
d-i netcfg/wireless_wep string
d-i mirror/country string manual
d-i mirror/http/hostname string http.kali.org
d-i mirror/http/directory string /kali
d-i mirror/http/proxy string
d-i passwd/user-fullname string hacdc
d-i passwd/username string hacdc
d-i passwd/user-password password HDCPW
d-i passwd/user-password-again password HDCPW
d-i clock-setup/utc boolean true
d-i time/zone string US/Eastern
d-i clock-setup/ntp boolean true
d-i partman-auto/method string lvm
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
cryptsetup-nuke-password cryptsetup-nuke-password/password HDCPW
cryptsetup-nuke-password cryptsetup-nuke-password/password-again HDCPW
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
tasksel tasksel/first multiselect standard,core,desktop-xfce,meta-default
d-i grub-installer/only_debian boolean true
d-i grub-installer/with_other_os boolean true
d-i grub-installer/bootdev string /dev/sda
d-i finish-install/reboot_in_progress note
+6
View File
@@ -0,0 +1,6 @@
#!/bin/bash
cd "$(dirname "$0")"
read -p "HacDC Password: " HCD_PASSWORD
cp blank_preseed.cfg preseed.cfg
sed -i "s/HDCPW/$HCD_PASSWORD/g" preseed.cfg
python3 -m http.server 1337