From da902b017c3d9b7e90ac674e8bc6baf7fc31c82a Mon Sep 17 00:00:00 2001 From: Russ Auld Date: Wed, 6 Dec 2017 04:03:50 -0500 Subject: [PATCH] Add dhcp-client-identifier to lease block (#4429) Machines that use Infiniband for PXE booting need to have the dhcp-client-identifier set in the lease block. Without it, they will not get the lease from the server. --- xCAT-server/lib/xcat/plugins/dhcp.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT-server/lib/xcat/plugins/dhcp.pm b/xCAT-server/lib/xcat/plugins/dhcp.pm index b402164a9..c824641be 100644 --- a/xCAT-server/lib/xcat/plugins/dhcp.pm +++ b/xCAT-server/lib/xcat/plugins/dhcp.pm @@ -747,6 +747,7 @@ sub addnode print $omshell "new host\n"; print $omshell "set name = \"$hostname\"\n"; print $omshell "set hardware-address = " . $mac . "\n"; + print $omshell "set dhcp-client-identifier = " . $mac . "\n"; print $omshell "set hardware-type = $hardwaretype\n"; if ($ip eq "DENIED")