From: martin f. krafft Date: Thu, 13 Nov 2014 22:59:45 +0000 (+0100) Subject: Do not fetch hostname from rDNS X-Git-Url: https://git.madduck.net/code/vinst.git/commitdiff_plain/f15cf014cb32b83b1e107e8c26e51f0f81189c48?pf=code Do not fetch hostname from rDNS --- diff --git a/preseed/jessie/preseed.cfg b/preseed/jessie/preseed.cfg index a913489..e501584 100644 --- a/preseed/jessie/preseed.cfg +++ b/preseed/jessie/preseed.cfg @@ -7,6 +7,9 @@ d-i netcfg/choose_interface select auto d-i netcfg/dhcp_options select Configure network manually d-i netcfg/confirm_static boolean true d-i netcfg/wireless_wep string +# prevent rDNS discovery +d-i netcfg/get_hostname seen true +d-i netcfg/get_domain seen true d-i hw-detect/load_firmware boolean true diff --git a/vinst b/vinst index 07f1925..9775cbb 100755 --- a/vinst +++ b/vinst @@ -131,8 +131,8 @@ tmpdir=$(mktemp -d) tar -C $BASEDIR/preseed/$SUITE -cf $tmpdir/commands.tar commands extra_kargs="auto $CONSOLE \ -hostname=${HOSTNAME%%.*} \ -domain=${HOSTNAME#*.}" +netcfg/hostname=${HOSTNAME%%.*} \ +netcfg/domain=${HOSTNAME#*.}" extra_opts= if [ -n "$DEBUG" ]; then