Explorar el Código

Allow override of Vagrant settings

Nigel Fletton hace 7 años
padre
commit
ea11cb853d
Se han modificado 1 ficheros con 4 adiciones y 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