202
Comment:
|
933
|
Deletions are marked like this. | Additions are marked like this. |
Line 4: | Line 4: |
* Links: [[Linux/Bridge]], [[Linux/FireHol]], [[Linux/KVM]] * Ubuntu 16.04 |
|
Line 6: | Line 8: |
* 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 `<main>': 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 |
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 `<main>': 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
- Tell vagrant how to talk to libvirt
...