summaryrefslogtreecommitdiffstats
path: root/network.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2008-12-05 11:49:43 -1000
committerDavid Cantrell <dcantrell@redhat.com>2008-12-05 11:49:43 -1000
commit6da80371d016a70a5d0f681824a3cd1a8241fb5c (patch)
tree19443fb63fdf87953bf9a4de1b9be5c95f53e037 /network.py
parent633fb6244a6dbbf07cbb0e8547bd9282be073d7c (diff)
downloadanaconda-6da80371d016a70a5d0f681824a3cd1a8241fb5c.tar.gz
anaconda-6da80371d016a70a5d0f681824a3cd1a8241fb5c.tar.xz
anaconda-6da80371d016a70a5d0f681824a3cd1a8241fb5c.zip
Do not write SEARCH line to ifcfg-DEVICE file (#474858)
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.
Diffstat (limited to 'network.py')
-rw-r--r--network.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/network.py b/network.py
index 7becba3f5..b5ecad426 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