diff options
author | David Cantrell <dcantrell@redhat.com> | 2009-06-30 12:01:30 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2009-07-06 16:25:39 -1000 |
commit | 170213392a9c357fd18f9062341c7e29b8051524 (patch) | |
tree | 3bdaa1aefe5800ba9c2604768a41a6c5b2831b24 /loader | |
parent | c1692ab69c9f280cf69cc1275f7416b32799cc89 (diff) | |
download | anaconda-170213392a9c357fd18f9062341c7e29b8051524.tar.gz anaconda-170213392a9c357fd18f9062341c7e29b8051524.tar.xz anaconda-170213392a9c357fd18f9062341c7e29b8051524.zip |
dhclient now reads config files from /etc/dhcp
Create /etc/dhcp in the initrd image and make sure loader writes
dhclient configuration files to /etc/dhcp.
Diffstat (limited to 'loader')
-rw-r--r-- | loader/net.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/loader/net.c b/loader/net.c index 1c35ac522..5b9593a34 100644 --- a/loader/net.c +++ b/loader/net.c @@ -1123,7 +1123,7 @@ int writeDisabledNetInfo(void) { for (i = 0; devs[i]; i++) { /* remove dhclient-DEVICE.conf if we have it */ - if (asprintf(&ofile, "/etc/dhclient-%s.conf", devs[i]->device) == -1) { + if (asprintf(&ofile, "/etc/dhcp/dhclient-%s.conf", devs[i]->device) == -1) { return 5; } @@ -1219,7 +1219,7 @@ int writeEnabledNetInfo(iface_t *iface) { } } - if (asprintf(&ofile, "/etc/dhclient-%s.conf", iface->device) == -1) { + if (asprintf(&ofile, "/etc/dhcp/dhclient-%s.conf", iface->device) == -1) { return 17; } |