dhcp-dont-send-hostname.diff 603 Bytes
Newer Older
1 2 3
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
4 5
@@ -12,7 +12,8 @@
 
6 7 8 9
 option rfc3442-classless-static-routes code 121 = array of unsigned integer 8;
 
-send host-name = gethostname();
+#send host-name = gethostname();
10
+supersede host-name "amnesia";
11 12 13 14
 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,