]> git.ipfire.org Git - thirdparty/dracut.git/commit
network: add save_netinfo, fix problems with nfs->NM takeover
authorWill Woods <wwoods@redhat.com>
Thu, 5 Apr 2012 17:01:37 +0000 (13:01 -0400)
committerHarald Hoyer <harald@redhat.com>
Mon, 16 Apr 2012 09:53:04 +0000 (11:53 +0200)
commite173f0b384f699c2519db879f3f562b1f6676d8d
tree5f696c54cb9e832e167e1a500c2d844dc8430646
parent1e4a880125ed2d8991d10e8f8a41b37bad898c28
network: add save_netinfo, fix problems with nfs->NM takeover

For NetworkManager to properly take over a NFS-root system, we need to
have the interface name(s) in /tmp/net.ifaces and save the dhclient
lease. This lets the ifcfg module do its magic.

save_netinfo should properly write out /tmp/net.ifaces when needed, and
copies the dhclient files into place.
modules.d/40network/net-lib.sh
modules.d/40network/netroot.sh