diff --git a/xCAT-probe/subcmds/detect_dhcpd b/xCAT-probe/subcmds/detect_dhcpd index 9494bfffe..a9e1ca269 100755 --- a/xCAT-probe/subcmds/detect_dhcpd +++ b/xCAT-probe/subcmds/detect_dhcpd @@ -96,19 +96,21 @@ if (!$IP || !$MAC) { } # check the distro -$msg = "The operating system on current server is supported"; +$msg = "The operating system on current server is not supported"; my $os; if (-f "/etc/redhat-release") { $os = "rh"; } elsif (-f "/etc/SuSE-release") { $os = "sles"; +} elsif (-f "/etc/SUSE-brand") { + $os = "sles"; } elsif (-f "/etc/lsb-release") { $os = "ubuntu"; #} elsif (-f "/etc/debian_version") { # $os = "debian"; } else { probe_utils->send_msg("$output", "f", $msg); - probe_utils->send_msg("$output", "d", "Only support the RedHat, SLES and Ubuntu."); + probe_utils->send_msg("$output", "d", "Only supported on RedHat, SLES and Ubuntu."); exit 1; } probe_utils->send_msg("$output", "d", "Current operating system is $os") if ($::VERBOSE);