Added support for static routes on CentOS and Fedora.
This commit is contained in:
parent
5d8ea214ea
commit
946d5691c1
2 changed files with 25 additions and 2 deletions
3
network/templates/route-if.erb
Normal file
3
network/templates/route-if.erb
Normal file
|
@ -0,0 +1,3 @@
|
|||
ADDRESS0=<%= name.split('/')[0] %>
|
||||
NETMASK0=<%= name.split('/')[1] %>
|
||||
<% if gateway != "NONE" %>GATEWAY0=<%= gateway %><% end %>
|
Loading…
Add table
Add a link
Reference in a new issue