Wednesday, May 8, 2013

Using Vagrant outside of the "Norm"

Vagrant has come along way with the version 1.0. Now you are freed from the handcuffs of Virtualbox. This is great news to be able to use any type of virtual machine. KVM is a common virtual machine used in production environments and its built in to linux. All it takes is installing a few packages and you can be up and running vagrant with kvm.

There is are a couple things that we need do first.
Install Vagrant's latest version from the download site.

Then install the plugin.
Once installed then we need to get a box and convert it for the kvm provider.
Here is a simple Vagrantfile you need to spin up your own KVM vagrant instance.

This is about as easy as it gets.

The code base for vagrant-kvm is located here. https://github.com/adrahon/vagrant-kvm#quick-start

1 comment:

  1. Great, thanks. I've been having performance problems with bundler gem installations on virtualbox lately. I wonder if this will help.

    ReplyDelete