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

add log for hardware discovery when no ip address can be resolved for the pre-defined node

This commit is contained in:
ertaozh
2017-08-29 04:37:43 -04:00
parent 8d42663338
commit 5f57e0d3de

View File

@@ -312,6 +312,9 @@ sub process_request {
$hosttag = "$node-$ifinfo[1]";
push @hostnames_to_update, $hosttag;
}
elsif (!inet_aton($node)) {
xCAT::MsgUtils->message("S", "xcat.discovery.nodediscover: Can not resolve IP for the matching node:$node, please makesure \"makehost $node\" and \"makedns $node\" have run before starting hardware discovery.");
}
}
#print Dumper($hosttag) . "\n";
if ($hosttag) {