mirror of
https://github.com/clearlinux/WALinuxAgent.git
synced 2026-09-06 13:51:29 +00:00
we should use the singleton Config
This commit is contained in:
@@ -2920,7 +2920,7 @@ class EnvMonitor(object):
|
||||
Monitor dhcp client pid and hostname.
|
||||
If dhcp clinet process re-start has occurred, reset routes, dhcp with fabric.
|
||||
"""
|
||||
publish = ConfigurationProvider().get("Provisioning.MonitorHostName")
|
||||
publish = Config.get("Provisioning.MonitorHostName")
|
||||
dhcpcmd = MyDistro.getpidcmd+ ' ' + MyDistro.getDhcpClientName()
|
||||
dhcppid = RunGetOutput(dhcpcmd)[1]
|
||||
while not self.shutdown:
|
||||
|
||||
Reference in New Issue
Block a user