Skip to content

Commit a2218ba

Browse files
author
Mauro Oviedo
committed
Updated Vagrantfile to work with xenial64.
1 parent 50dcf76 commit a2218ba

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

Vagrantfile

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ Vagrant.configure('2') do |config|
88
config.ssh.private_key_path = '~/.vagrant.d/insecure_private_key'
99

1010
config.vm.define 'anxs' do |machine|
11-
machine.vm.box = "ubuntu/trusty64"
11+
machine.vm.box = "ubuntu/xenial64"
12+
#machine.vm.box = "ubuntu/trusty64"
1213
#machine.vm.box = "ubuntu/precise64"
1314
#machine.vm.box = "debian/jessie64"
1415
#machine.vm.box = "debian/wheezy64"
@@ -17,6 +18,14 @@ Vagrant.configure('2') do |config|
1718

1819
machine.vm.network :private_network, ip: '192.168.88.22'
1920
machine.vm.hostname = 'anxs.local'
21+
22+
# Install python 2.7 to unbuntu 16.04
23+
if machine.vm.box == "ubuntu/xenial64"
24+
machine.vm.provision "shell" do |s|
25+
s.inline = "sudo apt-get install -y python-minimal"
26+
end
27+
end
28+
2029
machine.vm.provision 'ansible' do |ansible|
2130
ansible.playbook = 'tests/playbook.yml'
2231
ansible.sudo = true

0 commit comments

Comments
 (0)