Commit da1581672c593524d30ea8596c86109cd93945c5

Authored by Sergio Oliveira
1 parent 2840cf92

Fixed centos7.0 box for vagrant.

Fixes #7
Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
Vagrantfile
... ... @@ -4,7 +4,7 @@
4 4 # CHOOSE THE DISTRO FOR COLAB VM (set the distro variable):
5 5 # - precise64
6 6 # - trusty64
7   -# - centos6.5
  7 +# - chef/centos-7.0
8 8  
9 9 default_box = "precise64"
10 10 if $stdin.isatty
... ... @@ -17,7 +17,7 @@ if $stdin.isatty
17 17 puts '------------------------------'
18 18 puts 'precise64 (virtualbox)'
19 19 puts 'trusty64 (virtualbox)'
20   - puts 'centos7.0 (virtualbox)'
  20 + puts 'chef/centos-7.0 (virtualbox)'
21 21 puts
22 22 print "Which box to use [#{default_box}]: "
23 23 choice = $stdin.gets.strip
... ... @@ -44,8 +44,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
44 44 config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box"
45 45 when "trusty64"
46 46 config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box"
47   - when "centos7.0"
48   - config.vm.box_url = "https://vagrantcloud.com/chef/boxes/centos-7.0/versions/1/providers/virtualbox.box"
  47 + when "chef/centos-7.0"
  48 + config.vm.box_url = "chef/centos-7.0"
49 49 end
50 50  
51 51 config.vm.provision "shell", keep_color: true, path: 'vagrant/bootstrap.sh'
... ...