openstack-ansible-os_trove/Vagrantfile
Donovan Francesco f12ecd2e83 Add scaffolding for OpenStack-CI tests
Change-Id: I768a5ece1417933248c76fe7e269b9248d0baed1
2016-08-26 16:26:42 +02:00

24 lines
526 B
Ruby
Executable File

Vagrant.configure(2) do |config|
config.vm.provider "virtualbox" do |v|
v.memory = 2048
v.cpus = 2
end
config.vm.define "ubuntu1404" do |trusty|
trusty.vm.box = "ubuntu/trusty64"
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.provision "shell", inline: <<-SHELL
sudo su -
cd /vagrant
./run_tests.sh
SHELL
end
end