Differences between revisions 1 and 2
Revision 1 as of 2017-06-17 07:37:48
Size: 202
Editor: PieterSmit
Comment:
Revision 2 as of 2017-06-17 09:57:06
Size: 854
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
   * 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

  • ## 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

...

Linux/Vagrant (last edited 2017-11-12 22:22:43 by PieterSmit)