#format wiki #language en = Vagrant with KVM = * Links: [[Linux/Bridge]], [[Linux/FireHol]], [[linux/KVM]] * Ubuntu 16.04 * ## build-dep * apt-get install vagrant ruby-libvirt libvirt-bin ebtables dnsmasq libxslt-dev libxml2-dev libvirt-dev zlib1g-dev ruby-dev * https://www.vagrantup.com/downloads.html get newer vagrant for ubuntu 16.04 * Tell vagrant how to talk to libvirt {{{ $ vagrant plugin install vagrant-libvirt }}} * Tell vagrant how to convert vbox images to kvm {{{ $ vagrant plugin install vagrant-mutate }}} * err installing vagrant plugins {{{ xtconf.rb:73:in `
': libvirt library not found in default locations (RuntimeError) }}} * easy fix {{{ sudo apt-get install libvirt-dev }}} * vagrant plugin install vagrant-rekey-ssh * Convert a virtualbox image to kvm * vagrant box add ubuntu/trusty64 * vagrant mutate ubuntu/trusty64 libvirt ...