From 288908fb0a1a984261263bb08bc653668ad472a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Hertzog?= Date: Fri, 27 Feb 2015 10:32:19 +0000 Subject: [PATCH] Add a preseed file that does not harcode the codename That way d-i will automatically pick the release that has been selected during the build of the live image. --- config/includes.installer/preseed.cfg | 30 +++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 config/includes.installer/preseed.cfg diff --git a/config/includes.installer/preseed.cfg b/config/includes.installer/preseed.cfg new file mode 100644 index 0000000..65ae174 --- /dev/null +++ b/config/includes.installer/preseed.cfg @@ -0,0 +1,30 @@ +# Default repository information (don't include codename data, d-i figures it +# out from what's available in the ISO) +d-i mirror/country string enter information manually +d-i mirror/http/hostname string http.kali.org +d-i mirror/http/directory string /kali +d-i apt-setup/security_host string security.kali.org + +# Disable volatile and backports +d-i apt-setup/services-select multiselect security + +# Enable contrib and non-free +d-i apt-setup/non-free boolean true +d-i apt-setup/contrib boolean true + +# Disable CDROM entries after install +d-i apt-setup/disable-cdrom-entries boolean true + +# Upgrade installed packages +d-i pkgsel/upgrade select full-upgrade + +# Change default hostname +# DISABLED: We take care of this by forking netcfg until #719101 is fixed +# d-i netcfg/get_hostname string kali +# d-i netcfg/get_hostname seen false + +# Do not create a normal user account +d-i passwd/make-user boolean false + +# Disable popularity-contest +popularity-contest popularity-contest/participate boolean false