From 361ffd5235b2cb766cb98bdc7c7d49fc43642b08 Mon Sep 17 00:00:00 2001 From: Alvaro Bautista Date: Wed, 24 Jul 2013 23:33:55 +0200 Subject: [PATCH] Set box_url in Vagrantfile --- Vagrantfile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 89ac8fb..d50d767 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -1,13 +1,9 @@ -raise 'Please define PDMCODE environment variable pointing to a directory containing the pdm repository. Make sure it is the real thing (not a symlink).' unless ENV['PDMCODE'] - raise 'Please upgrade to Vagrant >= 1.2' unless Gem::Version.new(Vagrant::VERSION) >= Gem::Version.new('1.2') +raise 'Please indicate me where your pdm code is by setting PDMCODE environment variable' unless ENV['PDMCODE'] Vagrant.configure('2') do |config| - # Download and add box with: - # cd /tmp - # curl -O https://s3.amazonaws.com/alvarobp-public/vagrant-boxes/debian-rbenv-7.1.0.box - # vagrant box add debian-rbenv-7.1.0 debian-rbenv-7.1.0.box config.vm.box = "debian-rbenv-7.1.0" + config.vm.box_url = 'https://s3.amazonaws.com/alvarobp-public/vagrant-boxes/debian-rbenv-7.1.0.box' config.vm.provider :virtualbox do |vb| vb.customize ["modifyvm", :id, "--memory", 1024] # vb.gui = true