这是我第一次将 package.box 上传到 Vagrant。我正在测试vagrant up
并得到以下结果:
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: myprivateaccount/throwaway1
Address: https://vagrantcloud.com/myprivateaccount/throwaway1
Requested provider: [:virtualbox]
但是,virtualbox
我安装的版本(版本 6.0.12)可以成功运行 Ubuntu 机器。有人有解决方案吗?
答案1
好的,就我而言,问题是这样的:
If you're adding a box from HashiCorp's Vagrant Cloud, make sure the box is
已释放。
一旦我“释放”了该盒子,它就起作用了。我不知道提供商(vmware、virtualbox 等)是否是问题所在。