1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-11-01 03:54:15 +00:00
webvirtcloud/Vagrantfile

19 lines
690 B
Ruby
Raw Normal View History

2015-02-27 08:53:51 +00:00
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
2015-04-22 19:56:21 +00:00
config.vm.box = "ubuntu/trusty64"
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
2015-04-23 19:07:02 +00:00
sudo adduser vagrant libvirtd
2018-07-18 08:41:34 +00:00
sudo apt-get -y install python-virtualenv python-dev python-lxml libvirt-dev zlib1g-dev
2015-06-16 05:49:30 +00:00
virtualenv /vagrant/venv
source /vagrant/venv/bin/activate
pip install -r /vagrant/dev/requirements.txt
2015-02-27 08:53:51 +00:00
SHELL
end