April 12, 2017

vagrant reload --provisionで"Shared folders that Chef requires are missing on the virtual machine."エラー

メモです。

Vagrant 1.7.2で
$ vagrant reload --provision
しようとしたら
Shared folders that Chef requires are missing on the virtual machine.
This is usually due to configuration changing after already booting the
machine. The fix is to run a `vagrant reload` so that the proper shared
folders will be prepared and mounted on the VM.
とエラーが出てしまったので、調べてみると
http://stackoverflow.com/questions/27975541/vagrant-chef-error-in-provision-shared-folders-that-chef-requires-are-missin
が見つかりました。

書いてある通りに
$ rm .vagrant/machines/default/virtualbox/synced_folders
して、再度実行したらうまくいきました。

No comments:

Post a Comment