vagrant

Vagrant1.8.7でネットワークの起動に失敗する

More than 1 year has passed since last update.


概要

Vagrant1.8.7+VirtualBox5.0.28+macOS Sierraでvagrant up時に下記のエラーが再現。boxのOSはCentOS 7.2。

==> default: Machine booted and ready!

==> default: Checking for guest additions in VM...
==> 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!

# Down the interface before munging the config file. This might
# fail if the interface is not actually set up yet so ignore
# errors.
/sbin/ifdown 'eth1'
# Move new config into place
mv -f '/tmp/vagrant-network-entry-eth1-1479905191-0' '/etc/sysconfig/network-scripts/ifcfg-eth1'
# attempt to force network manager to reload configurations
nmcli c reload || true

# Restart network
service network restart

Stdout from the command:

Restarting network (via systemctl): [FAILED]

Stderr from the command:

Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.


対応

Vagrant1.8.6にダウングレードしたら直った。。。

ダウングレードは過去のインストーラを起動するだけで出来ました。


参考

Network Error after upgrade to 1.8.7