From b50a4d2c82f5ebd4df4b898c888b3be750f9f418 Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Mon, 4 May 2009 21:42:06 -1000 Subject: Avoid writing out NAME= in ifcfg files (#497485) Not really necessary in the ifcfg files, so avoid writing out this value in network.py. --- network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'network.py') 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: -- cgit