summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorHarm Weites <harm@weites.com>2014-08-23 11:55:23 +0000
committerHarm Weites <harm@weites.com>2014-08-23 11:55:23 +0000
commit99867a1fc78d669eacd92d02e396f6b921f31467 (patch)
treea5b7cad4967b208815ac8b0cabfa589e0a0354d4 /templates
parentf181c7cbdc08222f195fa84a379f35a456d26123 (diff)
parentba20ec431aa9275423d2e09154f5befb8961373b (diff)
downloadvyos-cloud-init-99867a1fc78d669eacd92d02e396f6b921f31467.tar.gz
vyos-cloud-init-99867a1fc78d669eacd92d02e396f6b921f31467.zip
merge: Trunk.
Diffstat (limited to 'templates')
-rw-r--r--templates/resolv.conf.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/resolv.conf.tmpl b/templates/resolv.conf.tmpl
index 6f908f30..1300156c 100644
--- a/templates/resolv.conf.tmpl
+++ b/templates/resolv.conf.tmpl
@@ -21,7 +21,7 @@ domain {{domain}}
sortlist {% for sort in sortlist %}{{sort}} {% endfor %}
{% endif %}
-{% if options is defined or flags is defined %}
+{% if options or flags %}
options {% for flag in flags %}{{flag}} {% endfor %}
{% for key, value in options.iteritems() -%}