[PATCH] fedora,script: Don't specify interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Its not guaranteed that we'll have 'eth0' available or that it will be
named 'eth0' by kernel. Since kickstart allows us not to specify the
name of the interface, lets omit that and let kickstart choose the best
device for us.
---
 data/install-scripts/fedora.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/data/install-scripts/fedora.xml b/data/install-scripts/fedora.xml
index 76f28da..c4264e5 100644
--- a/data/install-scripts/fedora.xml
+++ b/data/install-scripts/fedora.xml
@@ -104,7 +104,7 @@ langsupport --default <xsl:value-of select="config/l10n-language"/> <xsl:value-o
 mouse generic3ps/2 --device psaux
 </xsl:if>
 skipx
-network --device eth0 --bootproto dhcp
+network --bootproto dhcp
 rootpw <xsl:value-of select="config/admin-password"/>
 firewall --disabled
 authconfig --enableshadow --enablemd5
@@ -254,7 +254,7 @@ install
 cdrom
 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"/>
+network --onboot yes --bootproto dhcp --noipv6 --hostname=<xsl:value-of select="config/hostname"/>
 rootpw dummyPa55w0rd # Actual password set (or unset) in %post below
 firewall --disabled
 authconfig --enableshadow --enablemd5
-- 
2.1.0

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux