From 7237f1f0b36cbc512d2cc30c711ecfb66e3c3b4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Serge=20Ha=CC=88nni?= Date: Fri, 12 Oct 2018 16:30:31 +0200 Subject: [PATCH] Fixed naming of Vagrant boxes. The boxes are now hosted in the Vagrant cloud and are thus named differently. cf. https://github.com/hashicorp/vagrant/issues/9897#issuecomment-394945635 --- Vagrantfile | 3 +-- script/vagrant-test-all | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 99b50803..77055f66 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -3,8 +3,7 @@ Vagrant.configure('2') do |config| # See also: `script/vagrant-test`, `script/vagrant-test-all` - config.vm.box = ENV['MAID_TARGET_BOX'] || 'precise64' - config.vm.box_url = 'http://files.vagrantup.com/precise64.box' if 'precise64' == config.vm.box + config.vm.box = ENV['MAID_TARGET_BOX'] || 'hashicorp/precise64' config.vm.provider :virtualbox do |vb| # Maid has very low system requirements diff --git a/script/vagrant-test-all b/script/vagrant-test-all index d4cadc93..eaeb40ef 100755 --- a/script/vagrant-test-all +++ b/script/vagrant-test-all @@ -28,7 +28,7 @@ # * [Vagrant Boxes List](http://www.vagrantbox.es/) # * [Contributing Guide](https://github.com/benjaminoakes/maid/wiki/Contributing) -MAID_TARGET_BOX='precise32' MAID_TARGET_RUBY='1.9.3' script/vagrant-test -MAID_TARGET_BOX='precise64' MAID_TARGET_RUBY='1.9.3' script/vagrant-test +MAID_TARGET_BOX='hashicorp/precise32' MAID_TARGET_RUBY='1.9.3' script/vagrant-test +MAID_TARGET_BOX='hashicorp/precise64' MAID_TARGET_RUBY='1.9.3' script/vagrant-test # TODO: Locate and add box for `saucy32` # TODO: Locate and add box for `saucy64`