2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-21 18:50:28 +00:00

Merge pull request #1733 from hu-weihua/probebud

Fix bug #1727, probe sub_command discovery has syntax error in ubuntu
This commit is contained in:
zet809
2016-08-18 17:42:08 +08:00
committed by GitHub

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