-Have dhcp server send host-name on offers
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1507 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
070fd60f13
commit
753d6db75e
@ -240,8 +240,12 @@ sub addnode
|
||||
print $omshell "set ip-address = $ip\n";
|
||||
if ($lstatements)
|
||||
{
|
||||
print $omshell "set statements = \"$lstatements\"\n";
|
||||
$lstatements = 'send host-name \"'.$node.'\";'.$lstatements;
|
||||
|
||||
} else {
|
||||
$lstatements = 'send host-name \"'.$node.'\";';
|
||||
}
|
||||
print $omshell "set statements = \"$lstatements\"\n";
|
||||
}
|
||||
|
||||
print $omshell "create\n";
|
||||
|
Loading…
Reference in New Issue
Block a user