Fix default_resolver is undefined

fix issues #2265
This commit is contained in:
RongZhang 2018-02-10 10:08:26 -06:00 committed by GitHub
parent cf183288dd
commit bbb1da1a83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@ server={{ srv }}
{% endfor %}
{% elif resolvconf_mode == 'host_resolvconf' %}
{# The default resolver is only needed when the hosts resolv.conf was modified by us. If it was not modified, we can rely on dnsmasq to reuse the systems resolv.conf #}
server={{ default_resolver }}
server={{ cloud_resolver }}
{% endif %}
{% if kube_log_level == '4' %}