2015-02-27 08:53:51 +00:00
|
|
|
# -*- mode: ruby -*-
|
|
|
|
# vi: set ft=ruby :
|
|
|
|
|
|
|
|
Vagrant.configure(2) do |config|
|
|
|
|
config.vm.box = "chef/ubuntu-14.04"
|
2015-04-21 14:13:53 +00:00
|
|
|
config.vm.hostname = "webvirtcloud"
|
2015-02-27 08:53:51 +00:00
|
|
|
config.vm.network "private_network", ip: "192.168.33.10"
|
|
|
|
config.vm.provision "shell", inline: <<-SHELL
|
2015-03-27 14:20:30 +00:00
|
|
|
sudo sh /vagrant/dev/libvirt-bootstrap.sh
|
2015-02-27 08:53:51 +00:00
|
|
|
sudo sed -i 's/auth_tcp = \"sasl\"/auth_tcp = \"none\"/g' /etc/libvirt/libvirtd.conf
|
|
|
|
sudo service libvirt-bin restart
|
|
|
|
sudo apt-get -y install python-pip python-dev python-libvirt python-libxml2
|
2015-03-27 14:20:30 +00:00
|
|
|
sudo pip install -r /vagrant/dev/requirements.txt
|
2015-02-27 08:53:51 +00:00
|
|
|
SHELL
|
|
|
|
end
|