fix dnsmasq template cloud_provider lookup

This commit is contained in:
Matthew Mosesohn 2016-10-21 12:59:50 +03:00
parent 425f3e3f4f
commit a16ec5cc9a

View file

@ -13,7 +13,7 @@ server=/{{ dns_domain }}/{{ skydns_server }}
{% for srv in upstream_dns_servers %}
server={{ srv }}
{% endfor %}
{% elif cloud_provider == "gce" %}
{% elif cloud_provider is defined and cloud_provider == "gce" %}
server=169.254.169.254
{% else %}
server=8.8.8.8