Merge pull request #7396 from davidsiefert/patch-2

Document how to specify explicit version of box
This commit is contained in:
Seth Vargo 2016-06-06 19:19:48 -04:00
commit 82a94e979e
1 changed files with 9 additions and 0 deletions

View File

@ -74,6 +74,15 @@ the box above. This is how Vagrant knows what box to use. If the box was not
added before, Vagrant will automatically download and add the box when it is
run.
You may specify an explicit version of a box by specifying `config.vm.box_version`
for example:
```ruby
Vagrant.configure("2") do |config|
config.vm.box = "debian/wheezy64"
config.vm.box_version = "7.8.3"
end
```
In the next section, we will bring up the Vagrant environment and interact
with it a little bit.