2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-01-07 17:02:34 +00:00

Merge pull request #7042 from gurevichmark/probe_dns

Missing quote when checking for externaldns in xcatprobe
This commit is contained in:
besawn
2021-10-04 15:15:52 -04:00
committed by GitHub

View File

@@ -969,7 +969,7 @@ sub check_dns_service {
$checkdns = `lsdef $nodename -i setupnameserver -c 2>&1| awk -F'=' '{print \$2}'`;
chomp($checkdns);
} else { # management node
my $dns_is_external = `lsdef -t site -i externaldns -c 2>&1 | awk -F'=' {print \$2}'`;
my $dns_is_external = `lsdef -t site -i externaldns -c 2>&1 | awk -F'=' '{print \$2}'`;
chomp($dns_is_external);
if ($dns_is_external eq "1") {
$checkdns = 0;