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

后端 未结 2 753
北恋
北恋 2021-01-30 10:45

I\'ve installed a Vagrant + Virtualbox using Chef (+library chef). When I do vagrant up first time, cookbooks get loaded correctly. However, when I do provision aft

2条回答
  •  灰色年华
    2021-01-30 11:23

    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

提交回复
热议问题