diff options
-rw-r--r-- | os_net_config/impl_ifcfg.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/os_net_config/impl_ifcfg.py b/os_net_config/impl_ifcfg.py index f215378..f065f63 100644 --- a/os_net_config/impl_ifcfg.py +++ b/os_net_config/impl_ifcfg.py @@ -1019,7 +1019,10 @@ class IfcfgNetConfig(os_net_config.NetConfig): # If dhclient is running and dhcp not set, stop dhclient for interface in stop_dhclient_interfaces: - stop_dhclient_process(interface) + logger.debug("Calling stop_dhclient_interfaces() for %s" % + interface) + if not self.noop: + stop_dhclient_process(interface) for interface in restart_interfaces: self.ifup(interface) |