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

Merge pull request #3806 from zet809/add_log_for_hddiscover

add log for hardware discovery when no ip address can be resolved for…
This commit is contained in:
Mark Gurevich 2017-09-01 07:06:29 -04:00 committed by GitHub
commit 3e08b33340

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. Make sure \"makehosts\" and \"makedns\" have been run for $node.");
}
}
#print Dumper($hosttag) . "\n";
if ($hosttag) {