From 39a2f04a9eb1e67de747a8c2f72dfb925702b7f1 Mon Sep 17 00:00:00 2001 From: David Siefert Date: Mon, 6 Jun 2016 18:15:29 -0500 Subject: [PATCH] Document how to specify explicit version of box I needed this.... --- website/source/docs/getting-started/boxes.html.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/website/source/docs/getting-started/boxes.html.md b/website/source/docs/getting-started/boxes.html.md index 376b58769..a47e4095a 100644 --- a/website/source/docs/getting-started/boxes.html.md +++ b/website/source/docs/getting-started/boxes.html.md @@ -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.