Re: [PATCH] Use libnl and dhclient in nash for network configuration.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hans de Goede wrote:
> 
> 
> David Cantrell wrote:
>> This patch modifies nash to use dhclient when the 'network'
>> command requests dhcp.  Instead of firing off dhclient-script,
>> nash reads the leases file directly and extracts the information.
>> The nashSetupInterface() function is then called (which is also
>> the case for manual network configuration) to configure the
>> interface.  nashSetupInterface() uses libnl to add the address
>> and set the default gateway.
>>
>> Added nashSetMTU() to set the interface MTU using libnl.
>>
> 
> Woo, big patch. Anyways wasn't the plan to move to using NetworkManager
> in the initrd? Or is this for RHEL54?
> 

Ultimately, yes.  But I [personally] am interested in killing off
libdhcp and nash is the only holdout.  This patch preserves existing
functionality that we had with libdhcp in nash, but uses dhclient instead.

-- 
David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux