~ 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
sudo ln -nsf /usr/bin/curl /opt/vagrant/embedded/bin/curl
参考文献:
http://zulip.readthedocs.io/en/latest/dev-env-first-time-contributors.html
时间: 2024-11-06 07:41:30