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.
This commit is contained in:
Chris Thompson 2013-12-08 20:58:43 -06:00
parent ba18d98d45
commit 2877d37a03
1 changed files with 2 additions and 0 deletions

View File

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