From f15cf014cb32b83b1e107e8c26e51f0f81189c48 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Thu, 13 Nov 2014 23:59:45 +0100 Subject: [PATCH 1/1] Do not fetch hostname from rDNS --- preseed/jessie/preseed.cfg | 3 +++ vinst | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) 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 -- 2.39.5