Retaining information between DHCP requests

CLOSE Dave Dave.Close at
Thu Oct 9 21:14:46 UTC 2014

Anders Blomdell wrote:

> It might help to copy the lease information in a %post rule

> %post --nochroot
> mkdir -p /mnt/sysimage/var/lib/NetworkManager
> cp /var/lib/NetworkManager/dhclient*.lease
> /mnt/sysimage/var/lib/NetworkManager/
> %end

If only. kickstart dies long before that point. It can't find its install repos since it has the wrong nameserver.
Dave Close

More information about the dhcp-users mailing list