mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-29 08:26:27 +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:
parent
833502c880
commit
5e628551d8
@ -237,7 +237,11 @@ sub get_full_repo {
|
|||||||
# repo URL with flavor and arch, leave NFS ones alone (as for
|
# 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)
|
# NFS tests we just use a mounted ISO and the URL is complete)
|
||||||
if ($repourl !~ m/^nfs/) {
|
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;
|
return $repourl;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user