我正在尝试使用Vagrant通过以下命令添加一个框
vagrant box add bento/centos-7 --provider=VirtualBox但是它失败了,并显示以下错误
==> 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
有什么建议吗?
发布于 2019-02-16 23:00:55
我已经解决了..。这是一个关于提供者名称的非常愚蠢的错误...不是"VirtualBox",而是"virtualbox“...
正确的命令是
vagrant box add bento/centos-7 --provider=virtualboxhttps://stackoverflow.com/questions/54716389
复制相似问题