From 400add98326c8664db71a3138b0ec7b2948fb2e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Fri, 17 Jul 2015 13:42:10 -0400 Subject: allow appending arbitrary stuff to the resolv.conf this is useful in Linux to add an 'options' line --- templates/resolvconf.erb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'templates/resolvconf.erb') diff --git a/templates/resolvconf.erb b/templates/resolvconf.erb index 2a1f1e8..d11327d 100644 --- a/templates/resolvconf.erb +++ b/templates/resolvconf.erb @@ -9,3 +9,7 @@ search <%= @search %> <% Array(@nameservers).each do |nameserver| -%> nameserver <%= nameserver %> <% end -%> + +<% if @tail -%> +<%= tail %> +<% end -%> -- cgit v1.2.3