mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-20 21:20:36 +00:00
Merge pull request #1541 from xuweibj/prbdscv
Fix bug, probe discovery get node ip
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user