Clean up for network::interface definition.

This commit is contained in:
Timo Mkinen 2010-05-10 23:58:29 +03:00
parent 3975b50621
commit 2592ca9fad
2 changed files with 6 additions and 8 deletions

View file

@ -1,6 +1,7 @@
<% if proto == 'dhcp' -%>
dhcp NONE NONE NONE<% options.each do |val| -%> <%= val -%><% end -%>
dhcp NONE NONE NONE<% options.each do |val| %> <%= val %><% end %>
<% elsif proto == 'none' -%>
up
<% else -%>
inet <%= ipaddr -%> <%= netmask -%> NONE<% options.each do |val| -%> <%= val -%><% end -%>
inet <%= ipaddr %> <%= netmask %> NONE<% options.each do |val| %> <%= val %><% end %>
<% end -%>