More instance variable cleanup
This commit is contained in:
parent
49a8ae3004
commit
0e4f99b1bc
9 changed files with 18 additions and 18 deletions
|
@ -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 -%>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue