If dhcp is in use, copy dhclient in to the initrd.
Hans de Goede wrote:
>
>
> David Cantrell wrote:
>> ---
>> mkinitrd | 1 +
>> 1 files changed, 1 insertions(+), 0 deletions(-)
>>
>
> Looks good to me, shouldn't we create directories for the leases file
> etc too ?
>
> Regards,
>
> Hans
See line 722 of mkinitrd
>
>> diff --git a/mkinitrd b/mkinitrd
>> index 1316189..2bb1e0f 100755
>> --- a/mkinitrd
>> +++ b/mkinitrd
>> @@ -1371,6 +1371,7 @@ if [ -n "$raiddevices" ]; then
>> fi
>>
>> if [ "$root" == "dhcp" ]; then
>> + inst "/sbin/dhclient" "$MNTIMAGE" /sbin/dhclient
>> inst "/usr/sbin/nbd-client" "$MNTIMAGE" /sbin/nbd-client
>> fi
>>
>
> _______________________________________________
> Anaconda-devel-list mailing list
> Anaconda-devel-list@redhat.com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list
--
David Cantrell <dcantrell@redhat.com>
Red Hat / Honolulu, HI
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
|