Vagrant,VirtualBox内置还是没有?

时间:2013-04-12 16:54:17

标签: virtualbox vagrant

尝试使用Vagrant设置但收到错误:

The "VBoxManage" command or one of its dependencies could not be found. 
Please verify VirtualBox is properly installed. You can verify everything 
is okay by running "VBoxManage --version" and verifying that the VirtualBox 
version is outputted.

因为Vagrant文​​档声明:

而感到困惑

“入门指南将使用Vagrant和VirtualBox,因为它是免费的,可在每个主要平台上使用,内置于Vagrant。

如果我在安装Vagrant时应该包含VirtualBox,则不要单独安装VirtualBox。运行OSX 10.8如果相关,猜测我只需要安装VirtualBox?如果是这样的话,当他们说它是“内置”时,它们在文档中意味着什么?

2 个答案:

答案 0 :(得分:6)

如果您计划将VirtualBox与Vagrant一​​起使用,则需要安装VirtualBox。我猜他们意味着VirtualBox集成是内置的?

最近,他们已经抽象出VirtualBox特定代码,并且正在努力允许多个提供商。我相信除了VirtualBox之外,VMWare现在是supported

答案 1 :(得分:0)

我有这个消息,但我的问题不同了。我使用Vmware_fusion作为提供者。 Vagrant无法检测到我正在使用的提供商。我认为我正在使用VirtualBox。通过调用vagrant up provider标志来修复此问题。这是完整的命令

   vagrant up --provider vmware_fusion