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

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





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?

Regards,

Hans


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