From 986b6d9fa071925d472cd5e11217e99192702c08 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= <fidencio@redhat.com>
Date: Tue, 10 Sep 2019 15:33:30 +0200
Subject: [PATCH] install-script,rhel,jeos: Single quote value for comparison
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
We cannot do comparison as <xsl:test="os/distro = centos">, as it'd just
fail. 'centos' must be single quoted instead.
Signed-off-by: Fabiano FidĂȘncio <fidencio@redhat.com>
Reviewed-by: Cole Robinson <crobinso@redhat.com>
---
install-script/redhat.com/rhel-kickstart-jeos.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/install-script/redhat.com/rhel-kickstart-jeos.xml b/install-script/redhat.com/rhel-kickstart-jeos.xml
index 2b53dcd..88a46e2 100644
--- a/install-script/redhat.com/rhel-kickstart-jeos.xml
+++ b/install-script/redhat.com/rhel-kickstart-jeos.xml
@@ -157,7 +157,7 @@ url --url=<xsl:call-template name="installation-url"/>
</xsl:when>
<xsl:otherwise>
<xsl:choose>
- <xsl:when test="os/distro = centos">
+ <xsl:when test="os/distro = 'centos'">
@^minimal
</xsl:when>
<xsl:otherwise>
--
2.23.0