Fix for unmanaged dhclients left after cloud-init
When cloud-init generated file
/etc/network/interfaces.d/50-cloud-init.cfg
with interfaces configured to use dhcp is deleted all dhclients remain
running in unmanaged state. It means that this dhclients will not be
kiled on next ifdown of the interface.
Restart of networking kills all running dhclients and launches new ones
if there are any interfaces configured as dhcp in
/etc/network/interfaces
Prod related: #PROD-28694 (PROD:28694)
Change-Id: I3108121db0e161ecc206682941e3ae7a175bbcaf
(cherry picked from commit e45e65085c57925c54bb6369c1b1d7028ab73c73)
1 file changed