Skip to content

Instantly share code, notes, and snippets.

@btbytes
Last active December 20, 2018 20:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save btbytes/3878bf73c4df656f74990a96ece55082 to your computer and use it in GitHub Desktop.
Save btbytes/3878bf73c4df656f74990a96ece55082 to your computer and use it in GitHub Desktop.
Virtualbox alternatives for the Vagrant users

Virtualbox alternatives for the Vagrant users

Virtualbox is not your only option if you want to use Vagrant. Vagrant has decent plugins for qemu (vagrant-libvirt) and lxd (vagrant-lxd).

Make sure you get your KVM, Qemu and libvirt setup right and run:

$ brew install libvirt
$ brew services start libvirt # to restart service at login
$ vagrant plugin install vagrant-libvirt
$ vagrant init generic/ubuntu1804
$ vagrant up --provider=libvirt

You can export VAGRANT_DEFAULT_PROVIDER=libvirt to avoid passing --provider=libvirt to vagrant all the time. vagrant-lxd is less mature but just as useful, especially when you need to run stuff with erratic RSS graphs.

via HN comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment