Skip to content

Commit

Permalink
Prevent install certs if is_opensuse
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablo Herranz Ramírez committed Nov 28, 2023
1 parent 308853e commit cd3e05d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/containers/host_configuration.pm
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use Mojo::Base qw(consoletest);
use testapi;
use serial_terminal 'select_serial_terminal';
use utils;
use version_utils qw(check_os_release get_os_release is_sle);
use version_utils qw(check_os_release get_os_release is_sle is_opensuse);
use containers::common;
use containers::utils qw(reset_container_network_if_needed);

Expand All @@ -28,7 +28,7 @@ sub run {
# Check routing table is well configured
if ($host_distri =~ /sles|opensuse/) {
zypper_call("--quiet up", timeout => $update_timeout);
ensure_ca_certificates_suse_installed() if ($host_distri =~ /sles/);
ensure_ca_certificates_suse_installed() unless is_opensuse;
}
else {
if ($host_distri eq 'ubuntu') {
Expand Down

0 comments on commit cd3e05d

Please sign in to comment.