Differences between revisions 3 and 4
Revision 3 as of 2017-06-17 10:35:29
Size: 871
Editor: PieterSmit
Comment:
Revision 4 as of 2017-11-12 22:22:07
Size: 933
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
 * Links: [[Linux/Bridge]], [[Linux/FireHol]], [[Linux/KVM]]

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

...

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