make dhcp logically possible

This commit is contained in:
David Boucha 2013-11-19 02:35:32 -07:00
parent 63100f6e34
commit f7c3ae31e4

View File

@ -170,7 +170,7 @@ def _changes(cur, dns_proto, dns_servers, ip_proto, ip_addrs, gateway):
changes = {} changes = {}
cur_dns_proto = ( cur_dns_proto = (
'static' if 'Statically Configured DNS Servers' in cur 'static' if 'Statically Configured DNS Servers' in cur
else 'static' else 'dhcp'
) )
if cur_dns_proto == 'static': if cur_dns_proto == 'static':
cur_dns_servers = cur['Statically Configured DNS Servers'] cur_dns_servers = cur['Statically Configured DNS Servers']