2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 17:23:08 +00:00

Missing one possible error for node ip checking

This commit is contained in:
Bin Xu 2017-10-10 12:51:38 +08:00
parent 7da8844f82
commit 76aa2ca666

View File

@ -1353,14 +1353,8 @@ sub mkinstall
if ($::XCATSITEVALS{managedaddressmode} =~ /static/) {
my ($ipaddr, $hostname, $gateway, $netmask) = xCAT::NetworkUtils->getNodeNetworkCfg($node);
unless ($ipaddr) {
$callback->(
{
error => [
"cannot resolve the ip address of $node"
],
errorcode => [1]
}
);
xCAT::MsgUtils->report_node_error($callback, $node, "cannot resolve the ip address of $node");
next;
}
if ($gateway eq '<xcatmaster>') {