1、vagrant 啓動忽然報錯信息爲:centos
Bringing machine 'default' up with 'virtualbox' provider...
Your VM has become "inaccessible." Unfortunately, this is a critical error
with VirtualBox that Vagrant can not cleanly recover from. Please open VirtualBo
x
and clear out your inaccessible virtual machines or find a way to fix
them.
附 vagrant 相關環境爲:ide
一、VirtualBox-4.3.10-93012-Win.exe
二、vagrant_1.7.4.msi
三、centos-6.5_chef_64.box
四、putty_V0.63.0.0.43510830.exe
2、解決方式:
重命名.vagrant 目錄爲 .vagrant.old
而後從新啓動 vagrant up,仍是報錯:
Vagrant assumes that this means the command failed!
ARPCHECK=no /sbin/ifup eth1 2> /dev/null
Stdout from the command:
Device eth1 does not seem to be present, delaying initialization.
Stderr from the command:
而後
進虛擬機 virtual(virtual box 中直接選中centos 點啓動),
用 vagrant 用戶登陸,(或者直接用 root 密碼爲 vagrant 登陸 ),sudo su 轉 root ,
而後 rm -rf /etc/udev/rules.d/70-persistant-net.rules ,刪掉這個文件, service iptables stop ,關閉防火牆,
從新 vagrant reload ,便可拼通 192.168.33.10