#!/bin/bash
# Install depedencies for Vagrant and lib-virt Vagrant plugin.
# Built on host Ubuntu 16.04

wget https://releases.hashicorp.com/vagrant/1.8.4/vagrant_1.8.4_x86_64.deb
sudo dpkg -i vagrant_1.8.4_x86_64.deb
sud apt-get update
sudo apt-get install -y qemu-utils libxslt-dev libxml2-dev libvirt-dev zlib1g-dev ruby-dev ruby-libvirt
sudo vagrant plugin install vagrant-libvirt
sudo vagrant plugin install vagrant-cachier
sudo vagrant plugin install vagrant-mutate
vagrant plugin install vagrant-hostmanager
export VAGRANT_DEFAULT_PROVIDER=libvirt
