From d9914b5df322b1e47c9ef046de67f291026ee0f1 Mon Sep 17 00:00:00 2001 From: XuWei Date: Fri, 15 Jul 2016 04:35:54 -0400 Subject: [PATCH] Fix bug, probe discovery get node ip --- xCAT-probe/subcmds/discovery | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }