我正试图在我的Windows 10机器上使用vagrant的ubuntu/trusty64
框。我最初在我的流浪文件中使用ubuntu/precise64
,并且工作正常。我只尝试将行config.vm.box = "ubuntu/precise64"
更改为现在使用trusty64,但是当我使用命令vagrant up
时,它给了我输出:
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'ubuntu/trusty64' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
The box 'ubuntu/trusty64' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, please verify you're logged in via
'vagrant login'. Also, please double-check the name. The expanded
URL and error message are shown below:
URL: ["https://atlas.hashicorp.com/ubuntu/trusty64"]
Error:
出现空白错误。我尝试登录,我的命令提示符处于管理模式,我尝试用ubuntu/trusty64
自己抓取vagrant init ubuntu/trusty64
框(该命令没有给我任何错误),然后vagrant up
但是得到了lazy val
相同的输出。
答案 0 :(得分:0)
原来我只是缺少Microsoft Visual c + + Redistributable x86
可在此处下载: http://www.microsoft.com/en-us/download/details.aspx?id=8328
我在github上找到了答案: https://github.com/mitchellh/vagrant/issues/6754