mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
make dhcp logically possible
This commit is contained in:
parent
63100f6e34
commit
f7c3ae31e4
@ -170,7 +170,7 @@ def _changes(cur, dns_proto, dns_servers, ip_proto, ip_addrs, gateway):
|
||||
changes = {}
|
||||
cur_dns_proto = (
|
||||
'static' if 'Statically Configured DNS Servers' in cur
|
||||
else 'static'
|
||||
else 'dhcp'
|
||||
)
|
||||
if cur_dns_proto == 'static':
|
||||
cur_dns_servers = cur['Statically Configured DNS Servers']
|
||||
|
Loading…
Reference in New Issue
Block a user