diff options
author | Antoine Beaupré <anarcat@koumbit.org> | 2015-07-17 13:42:10 -0400 |
---|---|---|
committer | Antoine Beaupré <anarcat@koumbit.org> | 2015-07-17 13:42:10 -0400 |
commit | 400add98326c8664db71a3138b0ec7b2948fb2e6 (patch) | |
tree | 62a15bd1ae7d66f59fc876ec96236e67904e03d5 /templates/resolvconf.erb | |
parent | f656ae3328c1df7d8ea45ac7c0183e6f5805732c (diff) |
allow appending arbitrary stuff to the resolv.conf
this is useful in Linux to add an 'options' line
Diffstat (limited to 'templates/resolvconf.erb')
-rw-r--r-- | templates/resolvconf.erb | 4 |
1 files changed, 4 insertions, 0 deletions
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 -%> |