Adding support for gateway in RHEL/CentOS ifcfg script
This commit is contained in:
parent
017e61541a
commit
527e06c690
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue