3fa21be02b
Add support for CentOS 7 Vagrant VMs. This also updates the bindep.txt file so it can be easier to copy it across OSA repositories. Change-Id: Iaf2ef0a0d6278605ce411da0c55d3c667e77a588
35 lines
743 B
Ruby
35 lines
743 B
Ruby
Vagrant.configure(2) do |config|
|
|
config.vm.provider "virtualbox" do |v|
|
|
v.memory = 2048
|
|
v.cpus = 2
|
|
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
|
|
|
|
config.vm.define "opensuse421" do |leap421|
|
|
leap421.vm.box = "opensuse/openSUSE-42.1-x86_64"
|
|
leap421.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.provision "shell", inline: <<-SHELL
|
|
sudo su -
|
|
cd /vagrant
|
|
./run_tests.sh
|
|
SHELL
|
|
end
|
|
|
|
end
|