Vagrant 1.7.* 吗?支持 VirtualBox 5.x 吗?

Vagrant 1.7.* 吗?支持 VirtualBox 5.x 吗?

我已经安装了 VirtualBox 5.0.2r102096。以前我有 VirtualBox 4.3.*。 Vagrant 版本是 Vagrant 1.7.2,但是当我这样做时

vagrant up

它给了我以下错误:

Failed to mount folders in Linux guest. This is usually because
the "vboxsf" file system is not available. Please verify that
the guest additions are properly installed in the guest and
can work properly. The command attempted was:

有人提出了关于这个堆栈溢出问题 为了升级VirtualBox,所以我升级了。现在,当我这样做时,我收到以下错误 vagrant up

The provider 'virtualbox' that was requested to back the machine
'default' is reporting that it isn't usable on this system. The
reason is shown below:

Vagrant has detected that you have a version of VirtualBox installed
that is not supported. Please install one of the supported versions
listed below to use Vagrant:

4.0, 4.1, 4.2, 4.3

我该如何纠正上述错误?

答案1

我可以确认升级到(重新安装)Vagrant v.1.7.4 修复了错误。 https://docs.vagrantup.com/v2/installation/index.html

有一个拉取请求修复了 1.7.2 之后的版本。 https://github.com/mitchellh/vagrant/issues/5572

相关内容