]> git.ipfire.org Git - thirdparty/dracut.git/commit
network-legacy/ifup: nuke pid and lease files if dhclient failed
authorJonathan Lebon <jonathan@jlebon.com>
Tue, 21 Jan 2020 22:57:31 +0000 (17:57 -0500)
committerHarald Hoyer <harald@hoyer.xyz>
Thu, 23 Jan 2020 08:32:25 +0000 (09:32 +0100)
commitd0de58f23252a9da4a8badd71777e7c8418fa4b7
tree73ccf4e019a948573003e6ac89ebb09d2d04f9b3
parentf4ad2e5c8964b6c7b50420299a0096bade6a40bd
network-legacy/ifup: nuke pid and lease files if dhclient failed

Otherwise we won't retry dhclient again on that interface. In
FCOS/RHCOS, we want to bake in `ip=dhcp,dhcp6` so we automatically try
getting a DHCPv6 lease if DHCPv4 failed.

Related: https://bugzilla.redhat.com/show_bug.cgi?id=1793591
modules.d/35network-legacy/ifup.sh