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.
11 lines
255 B
Plaintext
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
|