From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/vagrant/vagrantfile%2Fvagrant_version.html | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 devdocs/vagrant/vagrantfile%2Fvagrant_version.html (limited to 'devdocs/vagrant/vagrantfile%2Fvagrant_version.html') diff --git a/devdocs/vagrant/vagrantfile%2Fvagrant_version.html b/devdocs/vagrant/vagrantfile%2Fvagrant_version.html new file mode 100644 index 00000000..762454fc --- /dev/null +++ b/devdocs/vagrant/vagrantfile%2Fvagrant_version.html @@ -0,0 +1,9 @@ +

Minimum Vagrant Version

A set of Vagrant version requirements can be specified in the Vagrantfile to enforce that people use a specific version of Vagrant with a Vagrantfile. This can help with compatibility issues that may otherwise arise from using a too old or too new Vagrant version with a Vagrantfile.

Vagrant version requirements should be specified at the top of a Vagrantfile with the Vagrant.require_version helper:

Vagrant.require_version ">= 1.3.5"
+
+

In the case above, the Vagrantfile will only load if the version loading it is Vagrant 1.3.5 or greater.

Multiple requirements can be specified as well:

Vagrant.require_version ">= 1.3.5", "< 1.4.0"
+
+

+ © 2010–2018 Mitchell Hashimoto
Licensed under the MPL 2.0 License.
+ https://www.vagrantup.com/docs/vagrantfile/vagrant_version.html +

+
-- cgit v1.2.3