summaryrefslogtreecommitdiffstats
path: root/network.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2009-05-04 21:42:06 -1000
committerDavid Cantrell <dcantrell@redhat.com>2009-05-05 09:36:08 -1000
commitb50a4d2c82f5ebd4df4b898c888b3be750f9f418 (patch)
treea6bf884dbed4f66bbe787c7b254c1d64e1de5fea /network.py
parent245d1951c40ecb61cee11f3ecc00e483bc8dd142 (diff)
downloadanaconda-b50a4d2c82f5ebd4df4b898c888b3be750f9f418.tar.gz
anaconda-b50a4d2c82f5ebd4df4b898c888b3be750f9f418.tar.xz
anaconda-b50a4d2c82f5ebd4df4b898c888b3be750f9f418.zip
Avoid writing out NAME= in ifcfg files (#497485)
Not really necessary in the ifcfg files, so avoid writing out this value in network.py.
Diffstat (limited to 'network.py')
-rw-r--r--network.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/network.py b/network.py
index 3f4b0eec4..087f8c57a 100644
--- a/network.py
+++ b/network.py
@@ -247,7 +247,7 @@ class NetworkDevice(SimpleConfigFile):
keys.remove("KEY")
for key in keys:
- if key in ("NM_CONTROLLED"):
+ if key in ("NM_CONTROLLED", "NAME"):
continue
# make sure we include autoneg in the ethtool line
elif key == 'ETHTOOL_OPTS' and self.info[key].find("autoneg")== -1: