Vagrant KVM
Vagrant packages for your system (Linux, Mac, Windows) can be found under:
http://downloads.vagrantup.com/
First install some dependencies:
sudo apt-get install qemu-kvm libvirt-bin libvirt-dev qemu-system virt-manager
Install the vagrant kvm plugin:
vagrant plugin install vagrant-kvm
You can start it with
vagrant up –provider=kvm
Information about the provider can be found here:
https://github.com/adrahon/vagrant-kvm
For that to work you need a Vagrantfile that already uses version 2. It is not so hard to migrate from version 1 to version 2, but the syntax has changed slightly.
To create a new Vagrantfile just type
vagrant init
in a folder without an Vagrantfile and it will create one for you.
You can use virt-manager to list all virtual machines and start/stop them or you can use virsh:
virsh -c qemu:///system
In the console. Afterwords you can use command like list, help, edit, … to interact with the vm’s.
Recent Comments