2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-18 20:30:56 +00:00

fix bug #1727, probe sub_command discovery has syntax error in ubuntu

This commit is contained in:
hu-weihua
2016-08-18 05:33:05 -04:00
parent 1db7bf47a8
commit 2d08093120

View File

@ -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) {