VagrantでOSをcentos/7にすると以下のエラーが出た。
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:
ホスト⇔ゲスト間のフォルダ共有機能はGuest Additionsが提供しているが ホスト(VirtualBox)とゲスト(Guest Additions)でバージョン不一致があるとマウントエラーが起きる。
vagrant up時に自動的に新しいバージョンのGuest Additionsに更新してくれる 「vagrant-vbguest」というプラグインがあるので、こちらをインストールしておくと良い。
vagrant plugin install vagrant-vbguest