Update docs

This commit is contained in:
Seth Vargo 2016-06-06 19:21:58 -04:00
parent 82a94e979e
commit 0ec0420d6b
1 changed files with 12 additions and 2 deletions

View File

@ -76,10 +76,20 @@ run.
You may specify an explicit version of a box by specifying `config.vm.box_version` You may specify an explicit version of a box by specifying `config.vm.box_version`
for example: for example:
```ruby ```ruby
Vagrant.configure("2") do |config| Vagrant.configure("2") do |config|
config.vm.box = "debian/wheezy64" config.vm.box = "hashicorp/precise64"
config.vm.box_version = "7.8.3" config.vm.box_version = "1.1.0"
end
```
You may also specify the URL to a box directly using `config.vm.box_url`:
```ruby
Vagrant.configure("2") do |config|
config.vm.box = "hashicorp/precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
end end
``` ```