Skip to content

Commit

Permalink
Use REPO_0 for zdup by default with Agama
Browse files Browse the repository at this point in the history
  • Loading branch information
lkocman committed Sep 16, 2024
1 parent 8aad341 commit 4fe308f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/installation/zdup.pm
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ sub run {
my $defaultrepo;
if (get_var('SUSEMIRROR')) {
$defaultrepo = "http://" . get_var("SUSEMIRROR");
} elsif (get_var('AGAMA')) {
# We no longer have offline media with Agama, zypper dup against the product repo
my $host = get_var('OPENQA_HOST', 'https://openqa.opensuse.org');
my $repo = get_var('REPO_0');
$defaultrepo = "$host/assets/repo/$repo";
}
else {
#SUSEMIRROR not set, zdup from ftp source for online migration
Expand Down

0 comments on commit 4fe308f

Please sign in to comment.