This has already been fixed in master https://github.com/mitchellh/vagrant/pull/7574
@gggeek @yveslaroche you can join discussion in the PR page and give your opinion or +1 about releasing vagrant 1.8.4.1 with https://github.com/mitchellh/vagrant/pull/7574 before 1.8.5 scheduled in September 1, 2016
For those who want to use VirtualBox 5.1 and package installed Vagrant 1.8.4 without building Vagrant from source or degrading VirtualBox to 5.0.x in Windows, changing files in vagrant installation directory same as in PR https://github.com/mitchellh/vagrant/pull/7574 can be a workaround.
notepad C:\HashiCorp\Vagrant\embedded\gems\gems\vagrant-1.8.4\plugins\providers\virtualbox\driver\meta.rb
add add "5.1" => Version_5_1, under the line about 5_0
notepad C:\HashiCorp\Vagrant\embedded\gems\gems\vagrant-1.8.4\plugins\providers\virtualbox\plugin.rb
add autoload :Version_5_1, File.expand_path("../driver/version_5_1", __FILE__) under the line about 5_0
notepad C:\HashiCorp\Vagrant\embedded\gems\gems\vagrant-1.8.4\plugins\providers\virtualbox\driver\version_5_1.rb
The file content can be found here (https://raw.githubusercontent.com/mitchellh/vagrant/b57b0e0d48fe8b4196ca6b7e01bb6c1ecb4b69f9/plugins/providers/virtualbox/driver/version_5_1.rb)
I tested it in Windows 10, with VirtualBox 5.1 and Vagrant 1.8.4 and worked.
For Mac users, file change/create following files:
/opt/vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/providers/virtualbox/driver/meta.rb
/opt/vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/providers/virtualboxdriver/version_5_1.rb
/opt/vagrant/embedded/gems/gems/vagrant-1.8.4/plugins/providers/virtualboxplugin.rb
@nappa85 tried above and worked.
Tested with Fedora 24 (works) by changing the following files according to above instructions:
/usr/share/vagrant/plugins/providers/virtualbox/driver/meta.rb
/usr/share/vagrant/plugins/providers/virtualbox/plugin.rb
/usr/share/vagrant/plugins/providers/virtualbox/driver/version_5_1.rb
Most helpful comment
For those who want to use VirtualBox 5.1 and package installed Vagrant 1.8.4 without building Vagrant from source or degrading VirtualBox to 5.0.x in Windows, changing files in vagrant installation directory same as in PR https://github.com/mitchellh/vagrant/pull/7574 can be a workaround.
add add
"5.1" => Version_5_1,under the line about 5_0add
autoload :Version_5_1, File.expand_path("../driver/version_5_1", __FILE__)under the line about 5_0The file content can be found here (https://raw.githubusercontent.com/mitchellh/vagrant/b57b0e0d48fe8b4196ca6b7e01bb6c1ecb4b69f9/plugins/providers/virtualbox/driver/version_5_1.rb)
I tested it in Windows 10, with VirtualBox 5.1 and Vagrant 1.8.4 and worked.
For Mac users, file change/create following files:
@nappa85 tried above and worked.