2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-26 21:20:29 +00:00

Fix bug, probe discovery get node ip

This commit is contained in:
XuWei
2016-07-15 04:35:54 -04:00
parent 79f45fa8f7
commit d9914b5df3

View File

@@ -279,7 +279,7 @@ sub get_node_ip {
if ($_ =~ /^Error: Could not find an object named '(\w+)' .+/i) {
$nodecheckrst{$1}{"error"} = "Could not find node definition";
$rst = 1;
} elsif ($_ =~ /^(\w+): ip=(.+)/i) {
} elsif ($_ =~ /^(\w+): ip=(.*)/i) {
$nodeip{$1} = $2;
}
}