summaryrefslogtreecommitdiff
path: root/templates/resolv.conf.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/resolv.conf.tmpl')
-rw-r--r--templates/resolv.conf.tmpl30
1 files changed, 0 insertions, 30 deletions
diff --git a/templates/resolv.conf.tmpl b/templates/resolv.conf.tmpl
deleted file mode 100644
index bfae80db..00000000
--- a/templates/resolv.conf.tmpl
+++ /dev/null
@@ -1,30 +0,0 @@
-## template:jinja
-# Your system has been configured with 'manage-resolv-conf' set to true.
-# As a result, cloud-init has written this file with configuration data
-# that it has been provided. Cloud-init, by default, will write this file
-# a single time (PER_ONCE).
-#
-{% if nameservers is defined %}
-{% for server in nameservers %}
-nameserver {{server}}
-{% endfor %}
-
-{% endif -%}
-{% if searchdomains is defined %}
-search {% for search in searchdomains %}{{search}} {% endfor %}
-
-{% endif %}
-{% if domain is defined %}
-domain {{domain}}
-{% endif %}
-{% if sortlist is defined %}
-
-sortlist {% for sort in sortlist %}{{sort}} {% endfor %}
-{% endif %}
-{% if options or flags %}
-
-options {% for flag in flags %}{{flag}} {% endfor %}
-{% for key, value in options.items() -%}
- {{key}}:{{value}}
-{% endfor %}
-{% endif %}