In case AppStream is not enabled, we can't install the "Workstation" packages on RHEL-8+. Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx> --- .../redhat.com/rhel-kickstart-desktop.xml.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/data/install-script/redhat.com/rhel-kickstart-desktop.xml.in b/data/install-script/redhat.com/rhel-kickstart-desktop.xml.in index 5bd267f..3a3a370 100644 --- a/data/install-script/redhat.com/rhel-kickstart-desktop.xml.in +++ b/data/install-script/redhat.com/rhel-kickstart-desktop.xml.in @@ -145,6 +145,15 @@ </xsl:choose> </xsl:template> + <xsl:template name="appstream-url"> + <xsl:variable name="url"> + <xsl:call-template name="installation-url"/> + </xsl:variable> + <xsl:value-of select="substring-before($url, 'BaseOS')"/> + <xsl:text>AppStream</xsl:text> + <xsl:value-of select="substring-after($url, 'BaseOS')"/> + </xsl:template> + <xsl:template match="/install-script-config"> # Install script for <xsl:value-of select="os/short-id"/> profile <xsl:value-of select="script/profile"/> <xsl:if test="script/installation-source = 'media'"> @@ -172,6 +181,9 @@ reboot <xsl:if test="script/installation-source = 'network'"> url --url=<xsl:call-template name="installation-url"/> + <xsl:if test="os/version > 7 or os/version = '8-unknown'"> +repo --name=AppStream --baseurl=<xsl:call-template name="appstream-url"/> + </xsl:if> </xsl:if> %packages -- 2.21.0 _______________________________________________ Libosinfo mailing list Libosinfo@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libosinfo