Explorar o código

Allow override of Vagrant settings

Nigel Fletton %!s(int64=7) %!d(string=hai) anos
pai
achega
ea11cb853d
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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