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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user