Vagrant Box为虚拟盒提供商添加Bento/CentOS-7失败



我正在尝试使用此命令使用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"]

我在Windows 10环境中使用Cygwin的Vagrant 2.2.3

建议?

我已经解决了...这是一个关于提供商名称的愚蠢错误...而不是" virtualbox",而是" virtualbox" ...

正确的命令是

vagrant box add bento/centos-7 --provider=virtualbox

最新更新