Browse Source

Allow override of Vagrant settings

Nigel Fletton 7 năm trước cách đây
mục cha
commit
ea11cb853d
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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