ari*_*ibo 42 django virtualbox chef-infra vagrant
我使用Chef(+ library chef)安装了Vagrant + Virtualbox.当我vagrant up第一次做的时候,烹饪书正确加载.但是,当我事后做好准备时(无论如何vagrant provision,vagrant reload --provision或者vagrant up --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.
Run Code Online (Sandbox Code Playgroud)
我到处搜索,唯一的解决办法就是这样做vagrant reload --provision,这可以达到Vagrant 1.3.1.
roo*_*oo2 107
似乎同步文件夹存在错误,这会清除缓存并为我修复它.(从你的项目目录)
rm .vagrant/machines/default/virtualbox/synced_folders
vagrant reload --provision
Run Code Online (Sandbox Code Playgroud)
https://github.com/mitchellh/vagrant/issues/5199
cod*_*ger -3
对于 Berkshelf 和 Librarian 的 Vagrant 插件来说,这是一个相当常见的问题。只要习惯运行该命令即可。
避免这种情况的方法是使用 Test-Kitchen 之类的东西而不是 Vagrant 插件。但这并不是一个简单的替代品。
| 归档时间: |
|
| 查看次数: |
6031 次 |
| 最近记录: |