vaguerent/templates/guests/redhat/network_static.erb
Chris Thompson 2877d37a03 add ONBOOT and NM_CONTROLLED to redhat/network_static
Fixes private networking on Centos 6. It seems using Network Manager (NM_CONTROLLED) to change an interface while running is a bad idea. I'm not sure of any specifics though. This is the only way I could get it to work.
2013-12-08 20:58:43 -06:00

11 lines
255 B
Plaintext

#VAGRANT-BEGIN
# The contents below are automatically generated by Vagrant. Do not modify.
NM_CONTROLLED=no
BOOTPROTO=none
ONBOOT=yes
IPADDR=<%= options[:ip] %>
NETMASK=<%= options[:netmask] %>
DEVICE=eth<%= options[:interface] %>
PEERDNS=no
#VAGRANT-END