Since vagrant 1.1 the virtualbox provider is a plugin. It would be nice if a use flag was added to install this provider. This would make it easier to choose to use vagrant-libvirt and gentoo is all about choice :) Reproducible: Always
Created attachment 347596 [details, diff] Remove virtualbox provider from vagrant A rather brute way to remove virtualbox and haven't tested extensively, but initial testing seems promising.
I'm not going to consider this until vagrant starts bundling other providers or I add ebuilds for others to the tree.
How about just making it a use flag for the dependencies?
(In reply to Ewoud Kohl van Wijngaarden from comment #3) > How about just making it a use flag for the dependencies? I don't want to do that because it's required by the standard vagrant setup and adding use flags to only control rdeps that don't affect linking or similar is generally frowned on. Use package.provided if you really have an issue with virtualbox for now.
Didn't think of that, but it works for me.
The standard is to not install optional rdeps I thought... It would be best to add an ewarn or einfo to the ebuild to tell the user to install a plugin and staticly disable... some of us use kvm and hardened which virtualbox sucks at.
Now that vagrant has support for HyperV and docker[1], I think it's time to revisit this. Docker is already in the tree and HyperV is windows only. [1]: https://github.com/mitchellh/vagrant/tree/master/plugins/providers
Version 1.8.1 in tree with Virtualbox use flag. I only use this combination so far, but anyone wanting to use other providers, feel free to add those. For inspiration on those ebuilds, you can check https://bugs.gentoo.org/show_bug.cgi?id=563548, Reto Gantenbein has an ebuild for vagrant-libvirt and dev-ruby/vagrant-lxc. Feel free to contact me if you wish to maintain those packages, we can put up USE flags for vagrant itself.