Updated all templates to use instance variables
This commit is contained in:
parent
a0c854d3c0
commit
dc51af1ca2
113 changed files with 527 additions and 522 deletions
|
@ -1,6 +1,9 @@
|
|||
<% if !domainname.empty? %>domain <%= domainname %>
|
||||
<% unless @domainname.empty? -%>
|
||||
domain <%= @domainname %>
|
||||
<% end -%>
|
||||
<% if !searchpath.empty? %>search <%= searchpath.join(" ") %>
|
||||
<% unless @searchpath.empty? -%>
|
||||
search <%= @searchpath.join(" ") %>
|
||||
<% end -%>
|
||||
<% nameservers.each do |ns| %>nameserver <%= ns %>
|
||||
<% @nameservers.each do |ns| -%>
|
||||
nameserver <%= ns %>
|
||||
<% end -%>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue