summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-patches/dhcp-dont-send-hostname.diff
blob: c1360dca5f06fe7f2fd5ee268ee3a3cbb121752d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff -Naur orig/etc/dhcp/dhclient.conf new/etc/dhcp/dhclient.conf
--- orig/etc/dhcp/dhclient.conf	2014-07-31 22:31:11.363605131 +0200
+++ new/etc/dhcp/dhclient.conf	2014-07-31 22:31:43.535349519 +0200
@@ -12,7 +12,8 @@
 
 option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
 
-send host-name = gethostname();
+#send host-name = gethostname();
+supersede host-name "amnesia";
 request subnet-mask, broadcast-address, time-offset, routers,
 	domain-name, domain-name-servers, domain-search, host-name,
 	dhcp6.name-servers, dhcp6.domain-search, dhcp6.fqdn, dhcp6.sntp-servers,