新しく入れたvagrantとvirtualboxでvagrant upしても途中で止まるエラーが発生しハマりにハマったのでメモ。

環境:
vagrant1.9.2 VirtualBox5.1.16 mac os X

状況:
ターミナルでvagrant upしてもsshのところで止まり進まない。
しばらく待つとタイムアウトエラーが出る

エラー内容:
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured (“config.vm.boot_timeout” value) time period.

If you look above, you should be able to see the error(s) that
Vagrant had when attempting to connect to the machine. These errors
are usually good hints as to what may be wrong.

If you’re using a custom box, make sure that networking is properly
working and you’re able to connect to the machine. It is a common
problem that networking isn’t setup properly in these boxes.
Verify that authentication configurations are also setup properly,
as well.

If the box appears to be booting properly, you may want to increase
the timeout (“config.vm.boot_timeout”) value.

対策:
こちらのページをみて“vagrant up”したら”SSH auth method: private key”で止まった話

vim vagrantfile

#下記を追加
config.vm.provider “virtualbox” do |vb|
vb.customize [“modifyvm”, :id, “–cableconnected1”, “on”]
end

vagrant reloadでvagrant upできるようになりました。感謝!