Vagrant1.4.0でprivate_networkを設定したCentOS6.5のVMを立ち上げようとしたら以下のエラーが出た。
結果、vagrant sshでは繋がるけど、private_networkが設定されるはずのeth1がゲストに存在しなくてIPでsshできない。
[default] Matching MAC address for NAT networking...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
[default] Clearing any previously set network interfaces...
[default] Preparing network interfaces based on configuration...
[default] Forwarding ports...
[default] -- 22 => 2222 (adapter 1)
[default] Booting VM...
[default] Waiting for machine to boot. This may take a few minutes...
[default] Machine booted and ready!
[default] Configuring and enabling network interfaces...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
/sbin/ifdown eth1 2> /dev/null
Stdout from the command:
Stderr from the command:
Vagrant1.4.0かつRedhat系のOSで発生するバグだった
https://github.com/mitchellh/vagrant/issues/2614
すぐ直したい場合は
<Vagrantインストールディレクトリ>/embedded/gems/gems/vagrant-1.4.0/plugins/guests/redhat/cap/configure_networks.rb
をGithubの最新版にすればOK