openstack-ansible-lxc_conta.../Vagrantfile
Travis Truman ced1bb6ab2 Remove apt update from Vagrantfile
Its now done in run_tests.sh which is run by the
Vagrant provisioner

Change-Id: I8be478919ca2ba94bf5652401f94e22e2b7d10d9
2016-08-19 15:13:08 -04:00

45 lines
926 B
Ruby

Vagrant.configure(2) do |config|
config.vm.define "ubuntu1404" do |trusty|
trusty.vm.box = "ubuntu/trusty64"
trusty.vm.provider "virtualbox" do |v|
v.memory = 2048
v.cpus = 2
end
trusty.vm.provision "shell", inline: <<-SHELL
sudo su -
cd /vagrant
./run_tests.sh
SHELL
end
config.vm.define "ubuntu1604" do |xenial|
xenial.vm.box = "ubuntu/xenial64"
xenial.vm.provider "virtualbox" do |v|
v.memory = 2048
v.cpus = 2
end
xenial.vm.provision "shell", inline: <<-SHELL
sudo su -
cd /vagrant
./run_tests.sh
SHELL
end
config.vm.define "centos7" do |centos7|
centos7.vm.box = "centos/7"
centos7.vm.provider "virtualbox" do |v|
v.memory = 2048
v.cpus = 2
end
centos7.vm.provision "shell", inline: <<-SHELL
sudo su -
cd /home/vagrant/sync
./run_tests.sh
SHELL
end
end