Use vagrant cloud base boxes for sanity checks

This commit is contained in:
Fabio Rehm 2014-07-20 19:59:27 -03:00
parent 228cae4a9a
commit 6bca147fb9
4 changed files with 29 additions and 8 deletions

View file

@ -1,8 +1,14 @@
Vagrant.configure("2") do |config| Vagrant.configure("2") do |config|
config.vm.provider :virtualbox do |_, override|
override.vm.box = "chef/ubuntu-14.04"
end
config.vm.provider :lxc do |_, override|
override.vm.box = "fgrehm/trusty64-lxc"
end
config.cache.auto_detect = true config.cache.auto_detect = true
config.cache.scope = :machine config.cache.scope = :machine
config.vm.box = 'precise64'
config.vm.box_url = 'http://files.vagrantup.com/precise64.box'
config.vm.provision :shell, inline: 'apt-get update && apt-get install -y git' config.vm.provision :shell, inline: 'apt-get update && apt-get install -y git'
end end

View file

@ -1,6 +1,12 @@
Vagrant.configure("2") do |config| Vagrant.configure("2") do |config|
config.vm.provider :virtualbox do |_, override|
override.vm.box = "chef/ubuntu-14.04"
end
config.vm.provider :lxc do |_, override|
override.vm.box = "fgrehm/trusty64-lxc"
end
config.cache.auto_detect = true config.cache.auto_detect = true
config.vm.box = 'precise64'
config.vm.box_url = 'http://files.vagrantup.com/precise64.box'
config.vm.provision :shell, inline: 'echo Hello!' config.vm.provision :shell, inline: 'echo Hello!'
end end

View file

@ -1,4 +1,8 @@
Vagrant.configure("2") do |config| Vagrant.configure("2") do |config|
config.vm.box = 'precise64' config.vm.provider :virtualbox do |_, override|
config.vm.box_url = 'http://files.vagrantup.com/precise64.box' override.vm.box = "chef/ubuntu-14.04"
end
config.vm.provider :lxc do |_, override|
override.vm.box = "fgrehm/trusty64-lxc"
end
end end

View file

@ -1,5 +1,10 @@
Vagrant.configure("2") do |config| Vagrant.configure("2") do |config|
config.vm.box = 'precise64' config.vm.provider :virtualbox do |_, override|
config.vm.box_url = 'http://files.vagrantup.com/precise64.box' override.vm.box = "chef/ubuntu-14.04"
end
config.vm.provider :lxc do |_, override|
override.vm.box = "fgrehm/trusty64-lxc"
end
config.vm.provision :shell, inline: 'echo Hello!' config.vm.provision :shell, inline: 'echo Hello!'
end end