[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH] Do not write SEARCH line to ifcfg-DEVICE file (#474858)
- From: David Cantrell <dcantrell redhat com>
- To: anaconda-devel-list redhat com
- Cc:
- Subject: [PATCH] Do not write SEARCH line to ifcfg-DEVICE file (#474858)
- Date: Fri, 5 Dec 2008 11:51:32 -1000
We have been writing the SEARCH= line to ifcfg files in network.py
for a while, but it only contains the domain we extract from the
FQDN. For users wanting to use the network service over NM, this
presents a problem because the SEARCH line present in the ifcfg
file will always override the information from the DHCP server.
---
network.py | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/network.py b/network.py
index 7becba3..b5ecad4 100644
--- a/network.py
+++ b/network.py
@@ -582,10 +582,6 @@ class Network:
if dev.get('MTU') and dev.get('MTU') != 0:
f.write("MTU=%s\n" % dev.get('MTU'))
- if self.domains != ['localdomain'] and self.domains:
- searchLine = string.joinfields(self.domains, ' ')
- f.write("SEARCH=\"%s\"\n" % (searchLine,))
-
# tell NetworkManager not to touch any interfaces used during
# installation when / is on a network device. Ideally we would only
# tell NM not to touch the interface(s) actually used for /, but we
--
1.6.0.3
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]