Cuong Nguyen 1f174edb8d Install python2 for Ubuntu 16.04 and CentOS 7 in Vagrant
- Fix double `end` in Vagrantfile
- Install python2 for Ubuntu 16.04 and CentOS 7 before executing test
  script.

Change-Id: Iec2ede3d94fd166d2e65b7e174f0f8dc51f720c0
2017-02-06 14:54:41 +07:00

16 lines
323 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
end