Skip to content

Commit 2e921f8

Browse files
committed
Vagrantfile: download precise32 box if missing
The config.vm.box_url setting is described here: http://vagrantup.com/v1/docs/config/vm/box_url.html The result: $ vagrant up [default] Box precise32 was not found. Fetching box from specified URL... [vagrant] Downloading with Vagrant::Downloaders::HTTP... [vagrant] Downloading box: http://files.vagrantup.com/precise32.box [vagrant] Extracting box... [vagrant] Verifying box... [vagrant] Cleaning up downloaded box... [default] Importing base box 'precise32'... ...
1 parent 8cbd033 commit 2e921f8

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Vagrantfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
Vagrant::Config.run do |config|
2-
# Run:
3-
#
4-
# vagrant box add precise32 http://files.vagrantup.com/precise32.box
5-
#
6-
# if needed (you need that only once).
72
config.vm.box = 'precise32'
3+
config.vm.box_url = 'http://files.vagrantup.com/precise32.box'
84

95
config.vm.forward_port 3000, 3000
106

0 commit comments

Comments
 (0)