Vagrant + Chef: Error in provision “Shared folders that Chef requires are missing on the virtual machine.”

本秂侑毒 提交于 2019-12-02 16:53:20

it seems like there is a bug with sync folders, this clears the cache and fixed it for me. (from your project directory)

rm .vagrant/machines/default/virtualbox/synced_folders
vagrant reload --provision

https://github.com/mitchellh/vagrant/issues/5199

EDIT: this should be fixed in vagrant 1.7.4

That's a fairly common issue with the Vagrant plugins for both Berkshelf and Librarian. Just get used to running that command.

The way to avoid it is to use something like Test-Kitchen instead of the Vagrant plugins. That isn't a drop-in replacement though.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!