Adding support for gateway in RHEL/CentOS ifcfg script

This commit is contained in:
Marcus Young 2014-01-21 11:04:28 -06:00 committed by Seth Vargo
parent 017e61541a
commit 527e06c690
1 changed files with 1 additions and 0 deletions

View File

@ -6,5 +6,6 @@ ONBOOT=yes
IPADDR=<%= options[:ip] %>
NETMASK=<%= options[:netmask] %>
DEVICE=eth<%= options[:interface] %>
<%= options[:gateway] ? "GATEWAY=#{options[:gateway]}" : '' %>
PEERDNS=no
#VAGRANT-END