diff options
author | David Cantrell <dcantrell@redhat.com> | 2009-05-04 21:42:06 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2009-05-05 09:36:08 -1000 |
commit | b50a4d2c82f5ebd4df4b898c888b3be750f9f418 (patch) | |
tree | a6bf884dbed4f66bbe787c7b254c1d64e1de5fea | |
parent | 245d1951c40ecb61cee11f3ecc00e483bc8dd142 (diff) | |
download | anaconda-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.
-rw-r--r-- | network.py | 2 |
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: |