[PATCH rhel6-branch] Remove unnecessary BOOTPROTO line from ifcfg files (#819486)

Jesse Keating jkeating at redhat.com
Fri Jun 29 19:11:45 UTC 2012


BOOTPROTO=static is redundant.  The default is static, BOOTPROTO only
makes sense if doing dhcp or some such.  In this case, BOOTPROTO=static
existing and no ipv4 definition is confusing ifcfg-rh (from
NetworkManager) and preventing the device from being brought up.
---
 loader/linuxrc.s390 |    1 -
 1 file changed, 1 deletion(-)

diff --git a/loader/linuxrc.s390 b/loader/linuxrc.s390
index 2c72b9e..c54ca93 100644
--- a/loader/linuxrc.s390
+++ b/loader/linuxrc.s390
@@ -3001,7 +3001,6 @@ fi
 cat > $IFCFGFILE << EOF
 DEVICE=$DEVICE
 ONBOOT=yes
-BOOTPROTO=static
 MTU=$MTU
 SUBCHANNELS=$SUBCHANNELS
 EOF
-- 
1.7.10.2



More information about the anaconda-patches mailing list