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:
parent
7da8844f82
commit
76aa2ca666
@ -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>') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user