当我跑步时:
:$ vagrant provision
or
:$ vagrant up
我收到了这个错误:
nisevi@localhost processor (master):$ vagrant provision
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
Couldn't resolve host 'www.getchef.com'
如果有人知道这个错误的相关内容,我会非常感激。
###################################编辑一位同事给了我这个帖子:
https://serverfault.com/questions/453185/vagrant-virtualbox-dns-10-0-2-3-not-working
作为参考,我能够找到有关mi问题的一些有趣信息。但现在我正在处理其他问题:bit.ly/1BxehY0
答案 0 :(得分:0)
由于配置错误和VirtualBox安装不正确,您的虚拟机可能没有任何网络访问权限。尝试注释掉Chef配置器,然后使用vagrant ssh
登录VM。看看你是否可以从内部访问互联网,如果没有,请在进行之前解决。如果您包含Vagrant文件的内容,我们可能会提供更多帮助。
答案 1 :(得分:0)
对于我的工作:
就是这样。