vagrant upするとvagrantは立ち上がるのですが、以下のようなエラーが出ます。
vagrant init bento/centos-7.2
でvagrantfileを作ってnetworkのところだけコメントアウト外して使われていないIPに変更しただけです。
config.vm.network "private_network", ip: "192.168.33.50"
vagrantのバージョン
Installed Version: 1.9.1
Latest Version: 1.9.2
virtualBoxバージョン
5.1.14 r112924 (Qt5.6.2)
OS
macOS Sierra 10.12.3
Vagrant was unable to mount VirtualBox shared folders. This is usually because the filesystem "vboxsf" is not available. This filesystem is made available via the VirtualBox Guest Additions and kernel module. Please verify that these guest additions are properly installed in the guest. This is not a bug in Vagrant and is usually caused by a faulty Vagrant box. For context, the command attempted was: mount -t vboxsf -o uid=1000,gid=1000 vagrant /vagrant The error output from the command was: /sbin/mount.vboxsf: mounting failed with the error: No such device
###現状
共有フォルダ機能が利用できないだけで仮想マシンはきちんと起動しています。
boxによってはエラーが出ないこともあります。
対応
対応1
vagrant upでmountエラーが発生した場合の解決方法 - Qiita
対応2
Vagrantで共有フォルダのマウントに失敗するときの対処方法 - Qiita
vagrant plugin install vagrant-vbguest
こちら試してみたのですが解決しませんでした。
解決策を教えていただければ幸いです。
回答1件
あなたの回答
tips
プレビュー