Skip to content

Commit

Permalink
Merge pull request os-autoinst#18234 from grisu48/12345
Browse files Browse the repository at this point in the history
Install CA certificates only on SLES tests
  • Loading branch information
grisu48 authored Nov 30, 2023
2 parents a8658a7 + 3caedd7 commit 8cbcb9c
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 ($host_distri =~ /sles|opensuse/) {
if (get_required_var('DISTRI') =~ 'sle') { # only on OSD
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 8cbcb9c

Please sign in to comment.