Skip to content

Commit

Permalink
Merge pull request #11005 from jknphy/fix_repo_name_transactional
Browse files Browse the repository at this point in the history
Get back utt.repo in transactional updates in SLE
  • Loading branch information
jlausuch committed Sep 16, 2020
2 parents c2feb4e + 1f81509 commit d23015f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/transactional.pm
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use warnings;
use testapi;
use microos 'microos_reboot';
use power_action_utils 'power_action';
use version_utils qw(is_opensuse is_microos);
use version_utils qw(is_opensuse is_microos is_sle);
use utils 'reconnect_mgmt_console';

our @EXPORT = qw(
Expand All @@ -36,6 +36,9 @@ our @EXPORT = qw(

# Download files needed for transactional update tests
sub get_utt_packages {
# SLE needs an additional repo for testing
assert_script_run 'curl -O ' . data_url("microos/utt.repo") if is_sle;

# Different testfiles for SUSE MicroOS and openSUSE MicroOS
my $tarball = 'utt-';
$tarball .= is_opensuse() ? 'opensuse' : 'sle';
Expand Down

0 comments on commit d23015f

Please sign in to comment.