]> git.madduck.net Git - code/vinst.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Do not fetch hostname from rDNS
authormartin f. krafft <madduck@madduck.net>
Thu, 13 Nov 2014 22:59:45 +0000 (23:59 +0100)
committermartin f. krafft <madduck@madduck.net>
Thu, 13 Nov 2014 23:01:09 +0000 (00:01 +0100)
preseed/jessie/preseed.cfg
vinst

index a9134895b67341068f2c30ce2f384b377846754b..e50158447bd2b16b4d1eb4f6387ac72617f4c8f3 100644 (file)
@@ -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
 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
 
 
 d-i hw-detect/load_firmware boolean true
 
diff --git a/vinst b/vinst
index 07f1925784a07278c51e3e328e8941f238e4acd1..9775cbb5711811c2723814ab9c3346bd294b02c2 100755 (executable)
--- 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 \
 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
 
 extra_opts=
 if [ -n "$DEBUG" ]; then