More instance variable cleanup

This commit is contained in:
Ossi Salmi 2013-05-24 10:29:11 +03:00
parent 49a8ae3004
commit 0e4f99b1bc
9 changed files with 18 additions and 18 deletions

View file

@ -1,9 +1,9 @@
DEVICE=<%= @name %>
<% if @name !~ /(bond|br)[0-9]/ && has_variable?("macaddress_" + name) -%>
HWADDR=<%= scope.lookupvar("macaddress_" + name) %>
<% if @name !~ /(bond|br)[0-9]/ && has_variable?("macaddress_" + @name) -%>
HWADDR=<%= scope.lookupvar("macaddress_" + @name) %>
<% end -%>
ONBOOT=yes
BOOTPROTO=<%= proto %>
BOOTPROTO=<%= @proto %>
<% if @ipaddr != 'none' and @ipaddr != 'dhcp' -%>
IPADDR=<%= @ipaddr %>
<% end -%>