diff --git a/preseed.cfg b/preseed.cfg new file mode 100644 index 0000000..ee35b56 --- /dev/null +++ b/preseed.cfg @@ -0,0 +1,68 @@ +### General Config + +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 clock-setup/utc boolean true +d-i time/zone string US/Eastern + +### Keyboard Config + +d-i console-setup/ask_detect boolean false +d-i keyboard-configuration/xkb-keymap select us + +### Network Config + +d-i netcfg/choose_interface select auto +d-i netcfg/get_hostname string kali-cleanroom +d-i netcfg/get_domain string local.lan +d-i netcfg/hostname string kali-cleanroom + +### Root Account Setup + +d-i passwd/root-login boolean true +d-i passwd/make_user boolean false +#d-i passwd/root-password password +#d-i passwd/root-password-again password +d-i user-setup/encrypt-home boolean false + +### 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/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_nooverwrite boolean true + +### Mirror Settings + +d-i mirror/country string manual +d-i mirror/http/hostname string http.kali.org +d-i mirror/http/directory string / +d-i mirror/http/proxy string + +### APT Setup + +d-i apt-setup/use_mirror boolean true +d-i pkgsel/include string openssh-server sudo +d-i pkgsel/install-language-support boolean false +d-i pkgsel/update-policy select none +d-i pkgsel/upgrade select full-upgrade + +### Bootloader + +d-i grub-installer/only_debian boolean true +d-i grub-installer/bootdev string default + +### Finishing Up + +d-i preseed/late_command string \ + in-target sh -c 'sed -i "s/^#PermitRootLogin.*\$/PermitRootLogin yes/g" /etc/ssh/sshd_config' ; \ + in-target sh -c 'systemctl enable ssh' ; +d-i finish-install/reboot_in_progress note +