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 5c443f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/containers/host_configuration.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion tests/transactional/host_config.pm
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use testapi;
use transactional qw(process_reboot);
use bootloader_setup qw(change_grub_config);
use utils qw(ensure_ca_certificates_suse_installed zypper_call);
use version_utils qw(is_alp is_bootloader_grub2 is_bootloader_sdboot);
use version_utils qw(is_alp is_bootloader_grub2 is_bootloader_sdboot is_opensuse);

sub run {
select_console 'root-console';
Expand Down

0 comments on commit 5c443f4

Please sign in to comment.