From 5e628551d86e96be756d9e38f75378d8f506231e Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 6 Nov 2017 16:25:40 -0800 Subject: [PATCH] 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. --- lib/anaconda.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/anaconda.pm b/lib/anaconda.pm index bcf4876c..dad4ccc9 100644 --- a/lib/anaconda.pm +++ b/lib/anaconda.pm @@ -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; }