From da1581672c593524d30ea8596c86109cd93945c5 Mon Sep 17 00:00:00 2001 From: Sergio Oliveira Date: Wed, 10 Dec 2014 12:39:51 -0200 Subject: [PATCH] Fixed centos7.0 box for vagrant. --- Vagrantfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 6bdd680..97f8a82 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -4,7 +4,7 @@ # CHOOSE THE DISTRO FOR COLAB VM (set the distro variable): # - precise64 # - trusty64 -# - centos6.5 +# - chef/centos-7.0 default_box = "precise64" if $stdin.isatty @@ -17,7 +17,7 @@ if $stdin.isatty puts '------------------------------' puts 'precise64 (virtualbox)' puts 'trusty64 (virtualbox)' - puts 'centos7.0 (virtualbox)' + puts 'chef/centos-7.0 (virtualbox)' puts print "Which box to use [#{default_box}]: " choice = $stdin.gets.strip @@ -44,8 +44,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box" when "trusty64" config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box" - when "centos7.0" - config.vm.box_url = "https://vagrantcloud.com/chef/boxes/centos-7.0/versions/1/providers/virtualbox.box" + when "chef/centos-7.0" + config.vm.box_url = "chef/centos-7.0" end config.vm.provision "shell", keep_color: true, path: 'vagrant/bootstrap.sh' -- libgit2 0.21.2