aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorBob Fournier <bfournie@redhat.com>2016-11-10 19:17:57 -0500
committerBob Fournier <bfournie@redhat.com>2016-11-15 17:44:33 -0500
commitfceeece7676c900e5295603f318c4218ac516bcb (patch)
tree2325294e9df0e7f80509c58aefffa6d3b91e3595 /etc
parent191a3b042cf303d70df5badefe9defe81ae4bd6d (diff)
Stop dhclient in os-net-config if interface not set for DHCP
As described in https://bugs.launchpad.net/tripleo/+bug/1640598, there are situations in which the dhclient instance started by dhcp-all-interfaces runs even after the interface is no longer configured for DHCP. This change will terminate the instance using the '-r' argument if 'BOOTPROTO' is not set to 'dhcp' in the ifcfg file for the interface. The dhclient will only be stopped if a dhclient pid file exists, the pid file will be removed after stopping dhclient. Co-Authored-By: Dan Sneddon <dsneddon@redhat.com> Change-Id: I8a52ef5fb8052f185c01dcc27a1ecd70f5d630c8 Closes-Bug: 1640598
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions