From 2e75c9ddca047e39e96c0a53d10d9344daf56673 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Herranz=20Ram=C3=ADrez?= Date: Wed, 29 Nov 2023 12:32:21 +0100 Subject: [PATCH] Check HOST_VERSION before installing certs --- tests/containers/host_configuration.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/containers/host_configuration.pm b/tests/containers/host_configuration.pm index 6daf7a2556f4..acde573d4e1a 100644 --- a/tests/containers/host_configuration.pm +++ b/tests/containers/host_configuration.pm @@ -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(); + ensure_ca_certificates_suse_installed() if ($host_distri =~ /sle/); } else { if ($host_distri eq 'ubuntu') {