Permalink
Browse files

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'...
	...
  • Loading branch information...
mlafeldt committed Aug 15, 2012
1 parent 8cbd033 commit 2e921f850881dfc4694683b6ac6d34bbca26a008
Showing with 1 addition and 5 deletions.
  1. +1 −5 Vagrantfile
View
@@ -1,10 +1,6 @@
Vagrant::Config.run do |config|
- # Run:
- #
- # vagrant box add precise32 http://files.vagrantup.com/precise32.box
- #
- # if needed (you need that only once).
config.vm.box = 'precise32'
+ config.vm.box_url = 'http://files.vagrantup.com/precise32.box'
config.vm.forward_port 3000, 3000

0 comments on commit 2e921f8

Please sign in to comment.