温馨提示×

Mac下Vagrant 1.8.7 添加box失败

发布时间:2020-07-30 06:28:07 来源:网络 阅读:1240 作者:v8v9v3000 栏目:开发技术


  ~ 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

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。