[Libosinfo] [osinfo-db] fedora: Enable repos when installing a Server ISO

Fabiano Fidêncio fidencio at redhat.com
Fri Jan 6 20:39:11 UTC 2017


Fedora installer has been broken since different "working groups" have
been introduced (Fedora 21).

The reason of the breakage is that the "Server" media doesn't contain
all the packages needed to perform the "Workstation" installation done
by the desktop profile.

The only way to solve this issue is by enabling the repos that contain
the needed packages during installation.

Signed-off-by: Fabiano Fidêncio <fabiano at fidencio.org>
---
 data/install-script/fedoraproject.org/fedora-kickstart-desktop.xml.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/install-script/fedoraproject.org/fedora-kickstart-desktop.xml.in b/data/install-script/fedoraproject.org/fedora-kickstart-desktop.xml.in
index 1fefebb..ad4d956 100644
--- a/data/install-script/fedoraproject.org/fedora-kickstart-desktop.xml.in
+++ b/data/install-script/fedoraproject.org/fedora-kickstart-desktop.xml.in
@@ -129,7 +129,7 @@ logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=768 --grow
 logvol / --fstype <xsl:call-template name="rootfs"/> --name=LogVol00 --vgname=VolGroup00 --size=1024 --grow
 reboot
 
-<xsl:if test="contains(media/variant, 'netinst')">
+<xsl:if test="(contains(media/variant, 'netinst') or contains(media/variant, 'server'))">
 repo --name=fedora --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
 repo --name=updates --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
 url --mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
-- 
2.9.3




More information about the Libosinfo mailing list