不知道为什么我有这个问题,但我不能添加流浪盒.
使用Windows 10,尝试使用powershell和简单的命令提示符.同样的问题.这是一个相对新鲜的Windows安装.也许我错过了一些必需的包裹?
首先我尝试了这个命令:
vagrant box add hashicorp/precise32
并得到错误:
The box 'hashicorp/precise32' 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/hashicorp/precise32"] Error:
所以我手动下载了这个盒子并尝试了这个:
vagrant box add base64 file:///D:/downloads/vagrant_boxes/precise64.box
并再次出现此错误:
==> box: Box file was not detected as metadata. Adding it directly... ==> box: Adding box 'base64' (v0) for provider: box: Unpacking necessary files from: file:///D:/downloads/vagrant_boxes/precise64.box box: An error occurred while downloading the remote file. The error message, if any, is reproduced below. Please fix this error and try again.
Michael D Jo.. 6
当前版本的库(截至此日期)OSX不支持与Vagrant 1.8.7捆绑的curl版本.我安装了1.8.6,一切都像冠军一样.测试这个理论:
cd /opt/vagrant/embedded/bin ./curl --help
如果你得到一个"正常"的答复,你应该没事或者还有别的错误.
当前版本的库(截至此日期)OSX不支持与Vagrant 1.8.7捆绑的curl版本.我安装了1.8.6,一切都像冠军一样.测试这个理论:
cd /opt/vagrant/embedded/bin ./curl --help
如果你得到一个"正常"的答复,你应该没事或者还有别的错误.