Fixed DNS templates and added support for Ubuntu 12.04 's way of creating resolv.conf.
This commit is contained in:
parent
f72325de30
commit
b6d34a1cf2
4 changed files with 18 additions and 1 deletions
|
@ -11,6 +11,12 @@ iface <%= name %> inet <%= proto %>
|
|||
<% if netmask != 'none' -%>
|
||||
netmask <%= netmask %>
|
||||
<% end -%>
|
||||
<% if dnssearch != 'none' -%>
|
||||
dns-search <%= dnssearch %>
|
||||
<% end -%>
|
||||
<% if dnsnameservers != 'none' -%>
|
||||
dns-nameservers <%= dnsnameservers %>
|
||||
<% end -%>
|
||||
<% options.each do |val| -%>
|
||||
<%= val %>
|
||||
<% end -%>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue