Commit 8e394ec167a00e876bff2d03df0d3efc32acf98e

Authored by Sergio Oliveira
1 parent 1d87b77c

Using own centos box

Signed-off-by: Sergio Oliveira <sergio@tracy.com.br>
Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
@@ -4,12 +4,12 @@ @@ -4,12 +4,12 @@
4 # CHOOSE THE DISTRO FOR COLAB VM (set the distro variable): 4 # CHOOSE THE DISTRO FOR COLAB VM (set the distro variable):
5 # - precise64 5 # - precise64
6 # - trusty64 6 # - trusty64
7 -# - chef/centos-7.0 7 +# - seocam/centos-7.0
8 8
9 default_box = "trusty64" 9 default_box = "trusty64"
10 if $stdin.isatty 10 if $stdin.isatty
11 if Dir.glob(File.join(File.dirname("__FILE__"), '.vagrant/**/id')).empty? 11 if Dir.glob(File.join(File.dirname("__FILE__"), '.vagrant/**/id')).empty?
12 - options = ["trusty64", "chef/centos-7.0"] 12 + options = ["trusty64", "seocam/centos-7.0"]
13 13
14 puts "Bases boxes available locally:" 14 puts "Bases boxes available locally:"
15 puts '------------------------------' 15 puts '------------------------------'
@@ -50,8 +50,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| @@ -50,8 +50,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
50 config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box" 50 config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box"
51 when "trusty64" 51 when "trusty64"
52 config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box" 52 config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box"
53 - when "chef/centos-7.0"  
54 - config.vm.box_url = "chef/centos-7.0" 53 + when "seocam/centos-7.0"
  54 + config.vm.box_url = "seocam/centos-7.0"
55 end 55 end
56 56
57 config.vm.provision "shell", keep_color: true, path: 'vagrant/bootstrap.sh' 57 config.vm.provision "shell", keep_color: true, path: 'vagrant/bootstrap.sh'