Vagrant,VirtualBox内置还是不内置?

3
尝试使用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个回答

6

如果您计划使用VirtualBox和Vagrant,则需要安装VirtualBox。我猜他们的意思是VirtualBox集成已内置?

最近,他们将VirtualBox特定代码抽象出来,并正在努力允许多个提供程序。我相信现在除了VirtualBox外,VMWare也受支持


0

我曾经遇到过这个问题,但我的情况有所不同。我使用的是Vmware_fusion作为提供者。Vagrant无法检测到我正在使用什么提供者,它假定我正在使用VirtualBox。通过调用vagrant up provider标志来解决了这个问题。以下是完整的命令:

   vagrant up --provider vmware_fusion

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接