2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-18 20:30:56 +00:00

change rspconfig call in the switchdiscover.pm file

This commit is contained in:
Casandra Qiu
2017-08-28 08:46:09 -04:00
parent 9f2f40609a
commit 1ab961f083

View File

@ -1459,7 +1459,7 @@ sub switchsetup {
$mask=$net->{'mask'};
}
}
$cmd = "rspconfig $pdu hostname=$pdu,ip=$otherinterfaces,netmask=$mask";
$cmd = "rspconfig $pdu hostname=$pdu ip=$otherinterfaces netmask=$mask";
xCAT::Utils->runcmd($cmd, 0);
if ($::RUNCMD_RC == 0) {
xCAT::Utils->runxcmd({ command => ['chdef'], arg => ['-t','node','-o',$pdu,"ip=$ip","otherinterfaces="] }, $sub_req, 0, 1);