From 2d08093120f9c684fe71c6f9965d06063bb4ccbb Mon Sep 17 00:00:00 2001 From: hu-weihua Date: Thu, 18 Aug 2016 05:33:05 -0400 Subject: [PATCH] fix bug #1727, probe sub_command discovery has syntax error in ubuntu --- 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 efdae9901..4d4859c27 100755 --- a/xCAT-probe/subcmds/discovery +++ b/xCAT-probe/subcmds/discovery @@ -204,7 +204,7 @@ sub check_genesis_file { my @file_path = split(' ', $genesis_line); my $elilo_efi = $file_path[1]; my $elilo_path = $file_path[3]; - $elilo_efi =~ s/\${next-server}/$host_ip/i; + $elilo_efi =~ s/\$\{next-server\}/$host_ip/i; $wget_rst = system("wget -q --spider $elilo_efi -T 0.5 -t 3"); if ($wget_rst) {