» Minimum Vagrant Version
A set of Vagrant version requirements can be specified in the Vagrantfileto enforce that people use a specific version of Vagrant with a Vagrantfile.This can help with compatibility issues that may otherwise arise from usinga too old or too new Vagrant version with a Vagrantfile.
Vagrant version requirements should be specified at the top of a Vagrantfilewith the Vagrant.require_version
helper:
Vagrant.require_version ">= 1.3.5"
In the case above, the Vagrantfile will only load if the version loading itis Vagrant 1.3.5 or greater.
Multiple requirements can be specified as well:
Vagrant.require_version ">= 1.3.5", "< 1.4.0"
当前内容版权归 vagrantup.com 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 vagrantup.com .