mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-21 19:22:05 +00:00
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.
This commit is contained in:
parent
1e0d14d58b
commit
da902b017c
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user