-Both send host-name down to client and force server interpretation to be nodename

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6182 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2010-05-20 00:16:44 +00:00
parent 40ae4035e6
commit 623c9f512a

View File

@ -307,10 +307,10 @@ sub addnode
print $omshell "set ip-address = $ip\n";
if ($lstatements)
{
$lstatements = 'send host-name \"'.$node.'\";'.$lstatements;
$lstatements = 'option host-name \"'.$node.'\"; send host-name \"'.$node.'\";'.$lstatements;
} else {
$lstatements = 'send host-name \"'.$node.'\";';
$lstatements = 'option host-name \"'.$node.'\"; send host-name \"'.$node.'\";';
}
print $omshell "set statements = \"$lstatements\"\n";
}