Vagrant在mac osx上找不到框

ad_*_*_ad 0 macos vagrant

我想做的事情如下:

vagrant init hashicorp/precise64
vagrant up
Run Code Online (Sandbox Code Playgroud)

但是,当Vagrant尝试添加"hashicorp/precises64"框时,我收到一条错误消息 - 当我使用命令时出现同样的错误

vagrant box add hashicorp/precise64
Run Code Online (Sandbox Code Playgroud)

这是错误:

The box 'hashicorp/precise64' 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/precise64"]
Error: 
Run Code Online (Sandbox Code Playgroud)

有谁知道出了什么问题?

我在Mac OSX Yosemite 10.10.5上使用Vagrant 1.8.7

小智 5

vagrant版本的curl for Mac OS X出现错误.即使.box文件是本地文件,也会出现此错误.

要修复,只需删除有问题的文件,它应默认为您系统上已安装的curl版本.

sudo rm/opt/vagrant/embedded/bin/curl