Updated all templates to use instance variables

This commit is contained in:
Ossi Salmi 2013-05-05 00:07:55 +03:00
parent a0c854d3c0
commit dc51af1ca2
113 changed files with 527 additions and 522 deletions

View file

@ -1,3 +1,3 @@
ADDRESS0=<%= name.split('/')[0] %>
NETMASK0=<%= name.split('/')[1] %>
<% if gateway != "" %>GATEWAY0=<%= gateway %><% end %>
ADDRESS0=<%= @name.split('/')[0] %>
NETMASK0=<%= @name.split('/')[1] %>
<% if @gateway != "" %>GATEWAY0=<%= @gateway %><% end %>