首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >为VirtualBox提供程序添加bento/centos-7失败

为VirtualBox提供程序添加bento/centos-7失败
EN

Stack Overflow用户
提问于 2019-02-16 04:10:45
回答 1查看 671关注 0票数 0

我正在尝试使用Vagrant通过以下命令添加一个框

代码语言:javascript
复制
vagrant box add bento/centos-7 --provider=VirtualBox

但是它失败了,并显示以下错误

代码语言:javascript
复制
==> box: Loading metadata for box 'bento/centos-7'
    box: URL: https://vagrantcloud.com/bento/centos-7
The box you're attempting to add doesn't support the provider
you requested. Please find an alternate box or use an alternate
provider. Double-check your requested provider to verify you didn't
simply misspell it.

If you're adding a box from HashiCorp's Vagrant Cloud, make sure the box is
released.

Name: bento/centos-7
Address: https://vagrantcloud.com/bento/centos-7
Requested provider: ["VirtualBox"]

我在Windows10环境中使用来自CygWin的Vagrant 2.2.3

有什么建议吗?

EN

回答 1

Stack Overflow用户

发布于 2019-02-16 23:00:55

我已经解决了..。这是一个关于提供者名称的非常愚蠢的错误...不是"VirtualBox",而是"virtualbox“...

正确的命令是

代码语言:javascript
复制
vagrant box add bento/centos-7 --provider=virtualbox
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/54716389

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档