Skip to content

Commit

Permalink
Install certs only for SUSE and openSUSE
Browse files Browse the repository at this point in the history
Latest change is trying to install certs and use `zypper` in non-SUSE distros. This PR is paired with os-autoinst/opensuse-jobgroups#394
  • Loading branch information
Pablo Herranz Ramírez committed Dec 1, 2023
1 parent 1710928 commit 8f7a1c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/containers/host_configuration.pm
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ sub run {

# Update the system to get the latest released state of the hosts.
# Check routing table is well configured
if (get_required_var('DISTRI') =~ 'sle') { # only on OSD
if ($host_distri =~ /sle|opensuse/) {
my $host_version = get_required_var('HOST_VERSION');
$host_version = ($host_version =~ /SP/) ? ("SLE_" . $host_version =~ s/-SP/_SP/r) : $host_version;
zypper_call("--quiet up", timeout => $update_timeout);
Expand Down

0 comments on commit 8f7a1c1

Please sign in to comment.