09406de86b
Add support for SUSE based distributions. We also update the bindep.txt, run_tests.sh and Vagrantfile files from the openstack-ansible-tests repository except that we use Leap 42.1 because Leap 42.2 does not work as expected with the currently released bindep (2.3.0). Change-Id: I5fb94a7cedf9d28816184e3eadd88e42f93295c2
27 lines
534 B
Ruby
27 lines
534 B
Ruby
Vagrant.configure(2) do |config|
|
|
config.vm.provider "virtualbox" do |v|
|
|
v.memory = 2048
|
|
v.cpus = 2
|
|
end
|
|
|
|
config.vm.provision "shell",
|
|
privileged: false,
|
|
inline: <<-SHELL
|
|
cd /vagrant
|
|
./run_tests.sh
|
|
SHELL
|
|
|
|
config.vm.define "ubuntu1604" do |xenial|
|
|
xenial.vm.box = "ubuntu/xenial64"
|
|
end
|
|
|
|
config.vm.define "opensuse421" do |leap421|
|
|
leap421.vm.box = "opensuse/openSUSE-42.1-x86_64"
|
|
end
|
|
|
|
config.vm.define "centos7" do |centos7|
|
|
centos7.vm.box = "centos/7"
|
|
end
|
|
|
|
end
|