Skip to content

Commit

Permalink
Make the HOST_VERSION variable not mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablo Herranz Ramírez committed Nov 30, 2023
1 parent 16f388f commit 491a212
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 @@ -27,7 +27,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/) {
my $host_version = get_required_var('HOST_VERSION');
my $host_version = get_var('HOST_VERSION');
$host_version = ($host_version =~ /SP/) ? ("SLE_" . $host_version =~ s/-SP/_SP/r) : $host_version;
zypper_call("--quiet up", timeout => $update_timeout);
# Cannot use `ensure_ca_certificates_suse_installed` as it will depend
Expand Down

0 comments on commit 491a212

Please sign in to comment.