summaryrefslogtreecommitdiffstats
path: root/packages.py
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2008-12-16 17:55:39 -1000
committerDavid Cantrell <dcantrell@redhat.com>2008-12-16 18:09:08 -1000
commit5a97cd9db04ba482521d4a673a7897e4a7bebac0 (patch)
tree99162a47595f8303cd1542de6940f4995849ee9b /packages.py
parent49d0de52709c79129572c0ea83e4b97297a139fd (diff)
downloadanaconda-5a97cd9db04ba482521d4a673a7897e4a7bebac0.tar.gz
anaconda-5a97cd9db04ba482521d4a673a7897e4a7bebac0.tar.xz
anaconda-5a97cd9db04ba482521d4a673a7897e4a7bebac0.zip
Copy /etc/dhclient-DEV.conf file to target system (#476364)
The vendor-class setting gets written to this file during installation, but we need to copy the file to the target system to make sure it's present on reboot. Previously, we wrote this to the ifcfg file for _something_ that read it, but it doesn't look like anything reads it from this location anymore (or ever). [rawhide]
Diffstat (limited to 'packages.py')
-rw-r--r--packages.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages.py b/packages.py
index c141c9248..cfc6ba2ae 100644
--- a/packages.py
+++ b/packages.py
@@ -231,7 +231,8 @@ def setFileCons(anaconda):
"/etc/mdadm.conf", "/etc/hosts", "/etc/sysconfig/network",
"/etc/udev/rules.d/70-persistent-net.rules",
"/root/install.log", "/root/install.log.syslog",
- "/etc/shadow", "/etc/shadow-", "/etc/gshadow"]
+ "/etc/shadow", "/etc/shadow-", "/etc/gshadow"] + \
+ glob.glob('/etc/dhclient-*.conf')
vgs = []
for entry in anaconda.id.partitions.requests: