Skip to content

Commit

Permalink
Merge pull request #8264 from jknphy/revert_zypper_dns_pattern
Browse files Browse the repository at this point in the history
Install dhcp_dns_server pattern only for opensuse
  • Loading branch information
jknphy committed Aug 22, 2019
2 parents dd800be + e5ec080 commit ef5d660
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/support_server/setup.pm
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ use mm_tests;
use opensusebasetest 'firewall';
use registration 'scc_version';
use iscsi;
use version_utils 'is_opensuse';

my $pxe_server_set = 0;
my $http_server_set = 0;
Expand Down Expand Up @@ -540,7 +541,7 @@ sub run {
}

if (exists $server_roles{dhcp}) {
zypper_call("in -t pattern dhcp_dns_server");
zypper_call("in -t pattern dhcp_dns_server") if is_opensuse;
setup_dhcp_server((exists $server_roles{dns}), 0);
}
if (exists $server_roles{qemuproxy}) {
Expand All @@ -554,7 +555,7 @@ sub run {
$setup_script .= "systemctl restart apache2\n";
}
if (exists $server_roles{dns}) {
zypper_call("in -t pattern dhcp_dns_server");
zypper_call("in -t pattern dhcp_dns_server") if is_opensuse;
setup_dns_server();
}

Expand Down

0 comments on commit ef5d660

Please sign in to comment.