puppet/network/templates/route-if.erb
Ossi Herrala 9b2b56b53b Change IPv4 gateway to empty string so IPv6 only default routes are
possible. Add fail when trying to set custom IPv6 routes. Someone will
fix it someday when there's need.
2012-02-06 14:43:21 +00:00

3 lines
125 B
Text

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