Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx> --- .../silverblue-kickstart-desktop.xml.in | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/data/install-script/fedoraproject.org/silverblue-kickstart-desktop.xml.in b/data/install-script/fedoraproject.org/silverblue-kickstart-desktop.xml.in index c38f17f..0bc946b 100644 --- a/data/install-script/fedoraproject.org/silverblue-kickstart-desktop.xml.in +++ b/data/install-script/fedoraproject.org/silverblue-kickstart-desktop.xml.in @@ -17,6 +17,7 @@ <injection-method>cdrom</injection-method> <injection-method>disk</injection-method> <injection-method>floppy</injection-method> + <injection-method>initrd</injection-method> <template> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" @@ -32,10 +33,18 @@ </xsl:template> <xsl:template match="/command-line"> - <xsl:text>ks=hd:</xsl:text> - <xsl:call-template name="script-disk"/> - <xsl:text>:/</xsl:text> - <xsl:value-of select="script/expected-filename"/> + <xsl:text>ks=</xsl:text> + <xsl:choose> + <xsl:when test="script/preferred-injection-method = 'initrd'"> + <xsl:text>file:/</xsl:text> + </xsl:when> + <xsl:otherwise> + <xsl:text>hd:</xsl:text> + <xsl:call-template name="script-disk"/> + <xsl:text>:/</xsl:text> + </xsl:otherwise> + </xsl:choose> + <xsl:value-of select="script/expected-filename"/> </xsl:template> <xsl:template match="/install-script-config"> -- 2.19.2 _______________________________________________ Libosinfo mailing list Libosinfo@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libosinfo