summaryrefslogtreecommitdiffstats
path: root/pyanaconda/network.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2010-06-25 09:05:03 -1000
committerDavid Cantrell <dcantrell@redhat.com>2010-06-25 09:05:03 -1000
commitc1caf4d4f8f8e1d7d1485ec824d07166a8942f09 (patch)
treeb507bfcbc8d73a1f88ec80d50f2dddb6860fdd48 /pyanaconda/network.py
parent615ba8d0de5e3d5d444edbcbae17712d0fec2f80 (diff)
downloadanaconda-c1caf4d4f8f8e1d7d1485ec824d07166a8942f09.tar.gz
anaconda-c1caf4d4f8f8e1d7d1485ec824d07166a8942f09.tar.xz
anaconda-c1caf4d4f8f8e1d7d1485ec824d07166a8942f09.zip
Put dhcp configuration files in /etc/dhcp (#468436)
The location for dhclient configuration files is /etc/dhcp rather than just /etc.
Diffstat (limited to 'pyanaconda/network.py')
-rw-r--r--pyanaconda/network.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyanaconda/network.py b/pyanaconda/network.py
index 2ed9cb105..c5d149ff9 100644
--- a/pyanaconda/network.py
+++ b/pyanaconda/network.py
@@ -596,12 +596,12 @@ class Network:
# /etc/sysconfig/network-scripts/ifcfg-DEVICE
# /etc/sysconfig/network-scripts/keys-DEVICE
- # /etc/dhclient-DEVICE.conf
+ # /etc/dhcp/dhclient-DEVICE.conf
# TODORV: do we really don't want overwrite on live cd?
for devName, device in self.netdevices.items():
self._copyFileToPath(device.path, instPath)
self._copyFileToPath(device.keyfilePath, instPath)
- dhclientfile = os.path.join("/etc/dhclient-%s.conf" % devName)
+ dhclientfile = os.path.join("/etc/dhcp/dhclient-%s.conf" % devName)
self._copyFileToPath(dhclientfile, instPath)
# /etc/sysconfig/network