Mac下Vagrant 1.8.7 添加box失败
1
2
3
4
5
6
7
8
9
~ vagrant box add ubuntu/trusty64
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:
如上错误一般发生在Vagrant 1.8.7,
解决方法:
1、重新安装Vagrant 1.8.6
2、使用你系统的curl代替Vagrant curl
1
sudo ln -nsf /usr/bin/curl /opt/vagrant/embedded/bin/curl
页:
[1]