1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-21 21:43:08 +00:00

Use Server not Everything variant for http repos on modular

Modular Server composes don't contain an Everything variant, so
we can't use it for the installation repo.
This commit is contained in:
Adam Williamson 2017-11-06 16:25:40 -08:00
parent 833502c880
commit 5e628551d8

View File

@ -237,7 +237,11 @@ sub get_full_repo {
# repo URL with flavor and arch, leave NFS ones alone (as for
# NFS tests we just use a mounted ISO and the URL is complete)
if ($repourl !~ m/^nfs/) {
$repourl .= "/Everything/".get_var("ARCH")."/os";
# Everything variant doesn't exist for modular composes atm,
# only Server
my $variant = 'Everything';
$variant = 'Server' if (get_var("MODULAR"));
$repourl .= "/${variant}/".get_var("ARCH")."/os";
}
return $repourl;
}