Vagrant 1.8.7 不能下载box的bug

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Vagrant 1.8.7 不能下载box的bug相关的知识,希望对你有一定的参考价值。

vagrant up 错误信息:

MacBook-Pro:mantl wangwei$ vagrant up --provider virtualbox

No vagrant-config.yml found, using defaults

Bringing machine ‘worker-001‘ up with ‘virtualbox‘ provider...

Bringing machine ‘kubeworker-001‘ up with ‘virtualbox‘ provider...

Bringing machine ‘edge-001‘ up with ‘virtualbox‘ provider...

Bringing machine ‘control-01‘ up with ‘virtualbox‘ provider...

==> worker-001: Box ‘CiscoCloud/mantl‘ could not be found. Attempting to find and install...

    worker-001: Box Provider: virtualbox

    worker-001: Box Version: >= 0

The box ‘CiscoCloud/mantl‘ 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/CiscoCloud/mantl"]

Error: 

解决办法:

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

删除vagrant/embedded/bin/curl

以上是关于Vagrant 1.8.7 不能下载box的bug的主要内容,如果未能解决你的问题,请参考以下文章

Vagrant 将其 .box 文件下载到哪里?

vagrant网站中box下载方法

vagrant 本地添加box 支持带版本号

vagrant配置(假设已经安装好了vagrant并且下载好了box)

vagrant 添加带版本号的 box

Vagrant Box 镜像准备:Packer 打包 Centos 8.3 系统