# -*- mode: ruby -*-
# vi: set ft=ruby :

# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure(2) do |config|
 config.vm.box = "hashicorp/precise64"

  config.vm.provision "shell", inline: <<-SHELL
    sudo apt-get update
    sudo apt-get install -y libxml2-dev libxslt1-dev avahi-utils python-pip git
    git clone https://github.com/XayOn/zeroconf
    cd zeroconf
    pip install .
    python setup.py sdist
    python setup.py test
  SHELL
end
