X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Fpatches%2F11_dhcphostname.patch;fp=debian%2Fpatches%2F11_dhcphostname.patch;h=162aa56db2de3fb7ad5f03400b76146ba7f817b1;hb=8424e93b27a3c5ae551ff1a5c456d0de96fc67c8;hp=0000000000000000000000000000000000000000;hpb=f387aa43206574c48a05c42447af4ced7f15705f;p=live-boot-grml.git diff --git a/debian/patches/11_dhcphostname.patch b/debian/patches/11_dhcphostname.patch new file mode 100755 index 0000000..162aa56 --- /dev/null +++ b/debian/patches/11_dhcphostname.patch @@ -0,0 +1,30 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 11_dhcphostname.dpatch by Andreas Thienemann +## and Michael Prokop +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Support disabling setting hostname via DNS info + +@DPATCH@ + +Support 'nodhcphostname' option which will disable setting the +hostname of the booted system according to the DNS information. +This patch takes care of the netboot case. + +diff --git a/scripts/live-bottom/23networking b/scripts/live-bottom/23networking +index 9554b77..9270e9c 100755 +--- a/scripts/live ++++ b/scripts/live +@@ -216,6 +216,11 @@ Arguments () + export NOACCESSIBILITY + ;; + ++ nodhcphostname) ++ NODHCPHOSTNAME="Yes" ++ export NODHCPHOSTNAME ++ ;; ++ + nofastboot) + NOFASTBOOT="Yes" + export NOFASTBOOT +