On Tue, Feb 05, 2019 at 08:40:34PM +0100, Fabiano Fidêncio wrote: > Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx> > --- > .../microsoft.com/windows-unattend-jeos.xml.in | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/data/install-script/microsoft.com/windows-unattend-jeos.xml.in b/data/install-script/microsoft.com/windows-unattend-jeos.xml.in > index 3fd90e5..f738b86 100644 > --- a/data/install-script/microsoft.com/windows-unattend-jeos.xml.in > +++ b/data/install-script/microsoft.com/windows-unattend-jeos.xml.in > @@ -40,8 +40,11 @@ > > <xsl:template name="arch"> > <xsl:choose> > - <xsl:when test="count(config/hardware-arch) > 0"> > - <xsl:value-of select="config/hardware-arch"/> > + <xsl:when test="config/hardware-arch = 'x86_64'"> > + <xsl:text>amd64</xsl:text> > + </xsl:when> > + <xsl:when test="config/hardware-arch = 'i386'"> > + <xsl:text>x86</xsl:text> identation looks messed up here as there's a mix of spaces & tabs > </xsl:when> > <xsl:otherwise> > <xsl:text>x86</xsl:text> > -- > 2.20.1 > > _______________________________________________ > Libosinfo mailing list > Libosinfo@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/libosinfo Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :| _______________________________________________ Libosinfo mailing list Libosinfo@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libosinfo