Files
0af23b4704dc4a7926b39a23f9d991a40d91ca3e
openstack-ansible-rabbitmq_... /Vagrantfile

45 lines
1.2 KiB
Ruby
Raw Normal View History

# This file is maintained in the openstack-ansible-tests repository.
# https://git.openstack.org/cgit/openstack/openstack-ansible-tests/tree/Vagrantfile
#
# If you need to perform any change on it, you should modify the central file,
# then, an OpenStack CI job will propagate your changes to every OSA repository
# since every repo uses the same Vagrantfile
# Verify whether required plugins are installed.
required_plugins = [ "vagrant-disksize" ]
required_plugins.each do |plugin|
if not Vagrant.has_plugin?(plugin)
raise "The vagrant plugin #{plugin} is required. Please run `vagrant plugin install #{plugin}`"
end
end
config.vm.provider "virtualbox" do |v|
end
config.vm.synced_folder ".", "/vagrant", type: "rsync"
privileged: false,
inline: <<-SHELL
cd /vagrant
./run_tests.sh
SHELL
xenial.vm.box = "bento/ubuntu-16.04"
config.vm.define "opensuse423" do |leap423|
leap423.vm.box = "bento/opensuse-leap-42.3"
centos7.vm.box = "bento/centos-7"