hashicorp / vagrant

Vagrant is a tool for building and distributing development environments.
https://www.vagrantup.com
Other
26.22k stars 4.43k forks source link

Enhancement Request: Automatic installation of Virtualbox Guest Additions #13308

Open alexgit2k opened 9 months ago

alexgit2k commented 9 months ago

Is your feature request related to a problem? Please describe. If Virtualbox is used the VirtualBox Guest Additions (https://www.virtualbox.org/manual/ch04.html) are required to share folders from the host to the guest. Therefore the Guest Additions have to be installed first: https://www.virtualbox.org/manual/ch04.html#additions-linux

However, it is often time consuming and complicated to get the required files and build tools for the compilation.

Describe the solution you'd like I want to have an automatic installation of the VirtualBox Guest Additions when using VirtualBox at "vagrant up".

Describe alternatives you've considered The vagrant-vbguest-plugin (https://github.com/dotless-de/vagrant-vbguest) which automatically installed VirtualBox Guest Additions has been archived on 17th of december.

aduskett commented 7 months ago

This is needed now, especiallyly since the vagrant-vbguest is broken with ruby 3.2.2:

virtualbox.rb: path && File.exists?(path) needs to be path && File.exist?(path)