]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dhclient: send client-identifier matching hardware address 252/head
authorPavel Zhukov <pzhukov@redhat.com>
Mon, 17 Jul 2017 15:58:28 +0000 (17:58 +0200)
committerPavel Zhukov <pzhukov@redhat.com>
Mon, 17 Jul 2017 15:58:28 +0000 (17:58 +0200)
Forcing dhclient to use hardware address instead of DUID to make it
predictable and allows system installation in whitelist based networks.

modules.d/40network/dhclient.conf

index a1739ce35a9c881ab47bc963ee295b860e9fbfa0..fe05c07f4328bd2e3585dfc2d48eba78a46d012d 100644 (file)
@@ -1,6 +1,8 @@
 
 option classless-routes code 121 = array of unsigned integer 8;
 
+send dhcp-client-identifier = hardware;
+
 request subnet-mask, broadcast-address, time-offset, routers,
         domain-name, domain-name-servers, domain-search, host-name,
         root-path, interface-mtu, classless-routes;