Notes on Vagrant

From MyWiki
Jump to: navigation, search

git clone https://github.com/chef/bento



packer to create the box file

use vagrant_1.8.0_x86_64.deb and not the apt-get 1.81 version which does not work

you need to add box to vagrant



Config kvm ????

sudo vim /etc/modprobe.d/kvm.conf

cat /etc/modprobe.d/kvm.conf

   options kvm-intel nested=1
   options kvm-amd   nested=1



Install vagrant-kvm as user

vagrant plugin install vagrant-kvm


vagrant-virtlib

virtlib-devel


apt-get update && apt-get install -y libvirt-dev ruby-all-dev apparmor-utils


vagrant plugin install vagrant-kvm


packer build -only qemu fedora-24-i386.json