浏览代码

Allow override of Vagrant settings

Nigel Fletton 7 年之前
父节点
当前提交
ea11cb853d
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      Vagrantfile

+ 4 - 0
Vagrantfile

@@ -73,4 +73,8 @@ Vagrant.configure(2) do |config|
 
   # Enable agent forwarding over SSH connections.
   config.ssh.forward_agent = true
+
+  if File.exist? "Vagrantfile.local"
+    instance_eval File.read("Vagrantfile.local"), "Vagrantfile.local"
+  end
 end