2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-21 05:25:32 +00:00

Merge pull request #1541 from xuweibj/prbdscv

Fix bug, probe discovery get node ip
This commit is contained in:
Weihua Hu
2016-07-19 17:29:00 +08:00
committed by GitHub

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;
}
}