[Libosinfo] [PATCH 09/10] fedora, script: Correctly handle netiso

Christophe Fergeau cfergeau at redhat.com
Tue May 12 12:43:17 UTC 2015


On Thu, May 07, 2015 at 05:36:44PM +0100, Zeeshan Ali (Khattak) wrote:
> The fedora install script was written for and tested against installer
> DVDs so it does not work for netiso. This patch fixes the issue by
> removing the install method commands and adding remote repos if the
> media is detected to be a netiso.
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1178787
> ---
>  data/install-scripts/fedora.xml | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
> 
> diff --git a/data/install-scripts/fedora.xml b/data/install-scripts/fedora.xml
> index c4264e5..ec37005 100644
> --- a/data/install-scripts/fedora.xml
> +++ b/data/install-scripts/fedora.xml
> @@ -94,8 +94,10 @@
>  
>          <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="count(media/variant) = 0 or media/variant != 'netinst'">

Wouldn't <xsl:if media/variant != 'netinst'"> be enough?

ACK.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libosinfo/attachments/20150512/b7b12f88/attachment.sig>


More information about the Libosinfo mailing list