Tree based installations will require a kernel-url-argument to be passed. Let's get this info from the <os/> directly. Although virt-install automatically appends this to kernel command line we generate, this is something that should be properly generated by us. https://gitlab.com/libosinfo/osinfo-db/issues/26 Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx> --- .../install-script/redhat.com/rhel-kickstart-desktop.xml.in | 6 ++++++ data/install-script/redhat.com/rhel-kickstart-jeos.xml.in | 6 ++++++ 2 files 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 0eb1716..c66ca30 100644 --- a/data/install-script/redhat.com/rhel-kickstart-desktop.xml.in +++ b/data/install-script/redhat.com/rhel-kickstart-desktop.xml.in @@ -78,6 +78,12 @@ </xsl:otherwise> </xsl:choose> <xsl:value-of select="script/expected-filename"/> + <xsl:if test="script/installation-source = 'network'"> + <xsl:text> </xsl:text> + <xsl:value-of select="os/kernel-url-argument"/> + <xsl:text>=</xsl:text> + <xsl:call-template name="installation-url"/> + </xsl:if> </xsl:template> <xsl:template match="/install-script-config"> diff --git a/data/install-script/redhat.com/rhel-kickstart-jeos.xml.in b/data/install-script/redhat.com/rhel-kickstart-jeos.xml.in index e08f67a..3ffd5af 100644 --- a/data/install-script/redhat.com/rhel-kickstart-jeos.xml.in +++ b/data/install-script/redhat.com/rhel-kickstart-jeos.xml.in @@ -70,6 +70,12 @@ </xsl:otherwise> </xsl:choose> <xsl:value-of select="script/expected-filename"/> + <xsl:if test="script/installation-source = 'network'"> + <xsl:text> </xsl:text> + <xsl:value-of select="os/kernel-url-argument"/> + <xsl:text>=</xsl:text> + <xsl:call-template name="installation-url"/> + </xsl:if> </xsl:template> <xsl:template match="/install-script-config"> -- 2.21.0 _______________________________________________ Libosinfo mailing list Libosinfo@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libosinfo