[Libosinfo] [PATCH 01/11] fedora, rhel, installer: Don't use "--activate" with older OSes

Christophe Fergeau cfergeau at redhat.com
Mon Mar 25 08:46:26 UTC 2013


Hey,

Can we not just drop it rather than making it conditional?
http://fedoraproject.org/wiki/Anaconda/Kickstart#network says
'Device of the first network command is activated if network is required,
e.g. in case of network installation or using vnc. Activation of the device
can be also explicitly required by --activate option.'

so it would seem this will be done automatically if needed?

On Sat, Mar 23, 2013 at 03:09:24PM +0100, Fabiano Fidêncio wrote:
> ---
>  data/install-scripts/fedora.xml | 2 +-
>  data/install-scripts/rhel.xml   | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/data/install-scripts/fedora.xml b/data/install-scripts/fedora.xml
> index 6e8a92d..0d14b28 100644
> --- a/data/install-scripts/fedora.xml
> +++ b/data/install-scripts/fedora.xml
> @@ -216,7 +216,7 @@ reboot
>  install
>  keyboard '<xsl:call-template name="keyboard"/>'
>  lang <xsl:value-of select="config/l10n-language"/>
> -network --onboot yes --device eth0 --bootproto dhcp --noipv6 --hostname=<xsl:value-of select="config/hostname"/> --activate
> +network --onboot yes --device eth0 --bootproto dhcp --noipv6 --hostname=<xsl:value-of select="config/hostname"/> <xsl:if test="os/version > 16">--activate</xsl:if>
>  rootpw dummyPa55w0rd # Actual password set (or unset) in %post below
>  firewall --disabled
>  authconfig --enableshadow --enablemd5
> diff --git a/data/install-scripts/rhel.xml b/data/install-scripts/rhel.xml
> index 9c17f11..5942826 100644
> --- a/data/install-scripts/rhel.xml
> +++ b/data/install-scripts/rhel.xml
> @@ -124,7 +124,7 @@ reboot
>  install
>  keyboard us
>  lang <xsl:value-of select="config/l10n-language"/>
> -network --onboot yes --device eth0 --bootproto dhcp --noipv6 --hostname=<xsl:value-of select="config/hostname"/> --activate
> +network --onboot yes --device eth0 --bootproto dhcp --noipv6 --hostname=<xsl:value-of select="config/hostname"/> <xsl:if test="os/version > 6.0">--activate</xsl:if>
>  rootpw dummyPa55w0rd # Actual password set (or unset) in %post below
>  firewall --disabled
>  authconfig --enableshadow --enablemd5
> -- 
> 1.8.1.4
> 
> _______________________________________________
> Libosinfo mailing list
> Libosinfo at redhat.com
> https://www.redhat.com/mailman/listinfo/libosinfo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libosinfo/attachments/20130325/2695ebe3/attachment.sig>


More information about the Libosinfo mailing list