From fdd6bd4f275fe51066df20a1f333335f278bce12 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Fri, 28 Feb 2020 10:55:20 -0600 Subject: [PATCH] stretch+: preseed: let users define hostname Signed-off-by: Robert Nelson --- lib/buster-preseed.cfg | 8 +++++--- lib/stretch-preseed.cfg | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/lib/buster-preseed.cfg b/lib/buster-preseed.cfg index 2ae0d4d..27989a7 100644 --- a/lib/buster-preseed.cfg +++ b/lib/buster-preseed.cfg @@ -68,8 +68,10 @@ d-i netcfg/choose_interface select auto # Any hostname and domain names assigned from dhcp take precedence over # values set here. However, setting the values still prevents the questions # from being shown, even if values come from dhcp. -d-i netcfg/get_hostname string unassigned-hostname -d-i netcfg/get_domain string unassigned-domain +#RCNEE: disable these defaults so users can specify them +#d-i netcfg/get_hostname string unassigned-hostname +#d-i netcfg/get_domain string unassigned-domain +#RCNEE: ^ # If you want to force a hostname, regardless of what either the DHCP # server returns or what the reverse DNS entry for the IP is, uncomment @@ -98,7 +100,7 @@ d-i netcfg/wireless_wep string ### Mirror settings # If you select ftp, the mirror/country string does not need to be set. #d-i mirror/protocol string ftp -#RCNEE: default was "us" let users specify keymap... +#RCNEE: disable these defaults so users can specify them #d-i mirror/country string manual #d-i mirror/http/hostname string http.us.debian.org #d-i mirror/http/directory string /debian diff --git a/lib/stretch-preseed.cfg b/lib/stretch-preseed.cfg index 7b6e246..c767d93 100644 --- a/lib/stretch-preseed.cfg +++ b/lib/stretch-preseed.cfg @@ -68,8 +68,10 @@ d-i netcfg/choose_interface select auto # Any hostname and domain names assigned from dhcp take precedence over # values set here. However, setting the values still prevents the questions # from being shown, even if values come from dhcp. -d-i netcfg/get_hostname string unassigned-hostname -d-i netcfg/get_domain string unassigned-domain +#RCNEE: disable these defaults so users can specify them +#d-i netcfg/get_hostname string unassigned-hostname +#d-i netcfg/get_domain string unassigned-domain +#RCNEE: ^ # If you want to force a hostname, regardless of what either the DHCP # server returns or what the reverse DNS entry for the IP is, uncomment @@ -98,7 +100,7 @@ d-i netcfg/wireless_wep string ### Mirror settings # If you select ftp, the mirror/country string does not need to be set. #d-i mirror/protocol string ftp -#RCNEE: default was "us" let users specify keymap... +#RCNEE: disable these defaults so users can specify them #d-i mirror/country string manual #d-i mirror/http/hostname string http.us.debian.org #d-i mirror/http/directory string /debian