summaryrefslogtreecommitdiff
path: root/templates/resolvconf.OpenBSD.erb
diff options
context:
space:
mode:
authorAntoine Beaupré <anarcat@koumbit.org>2015-07-17 13:42:10 -0400
committerAntoine Beaupré <anarcat@koumbit.org>2015-07-17 13:42:10 -0400
commit400add98326c8664db71a3138b0ec7b2948fb2e6 (patch)
tree62a15bd1ae7d66f59fc876ec96236e67904e03d5 /templates/resolvconf.OpenBSD.erb
parentf656ae3328c1df7d8ea45ac7c0183e6f5805732c (diff)
allow appending arbitrary stuff to the resolv.conf
this is useful in Linux to add an 'options' line
Diffstat (limited to 'templates/resolvconf.OpenBSD.erb')
-rw-r--r--templates/resolvconf.OpenBSD.erb4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/resolvconf.OpenBSD.erb b/templates/resolvconf.OpenBSD.erb
index f8727d7..9cf2902 100644
--- a/templates/resolvconf.OpenBSD.erb
+++ b/templates/resolvconf.OpenBSD.erb
@@ -3,3 +3,7 @@ lookup file bind
<% Array(@nameservers).each do |nameserver| -%>
nameserver <%= nameserver %>
<% end -%>
+
+<% if @tail -%>
+<%= tail %>
+<% end -%>