fix dnsmasq template cloud_provider lookup
This commit is contained in:
parent
a423927ac9
commit
4b7347f1cd
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ server=/{{ dns_domain }}/{{ skydns_server }}
|
||||||
{% for srv in upstream_dns_servers %}
|
{% for srv in upstream_dns_servers %}
|
||||||
server={{ srv }}
|
server={{ srv }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% elif cloud_provider == "gce" %}
|
{% elif cloud_provider is defined and cloud_provider == "gce" %}
|
||||||
server=169.254.169.254
|
server=169.254.169.254
|
||||||
{% else %}
|
{% else %}
|
||||||
server=8.8.8.8
|
server=8.8.8.8
|
||||||
|
|
Loading…
Reference in a new issue