Simplify understanding of magic "2" in Vagrantfile [GH-1835]

This commit is contained in:
Mitchell Hashimoto 2013-07-20 01:06:02 -04:00
parent 2d16588952
commit fb14a33bc1
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,10 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at vagrantup.com.