Document how to specify explicit version of box

I needed this....
This commit is contained in:
David Siefert 2016-06-06 18:15:29 -05:00
parent 562180c75c
commit 39a2f04a9e
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.