diff --git a/xCAT-probe/subcmds/discovery b/xCAT-probe/subcmds/discovery index e0a40201d..38359562b 100755 --- a/xCAT-probe/subcmds/discovery +++ b/xCAT-probe/subcmds/discovery @@ -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; } }