Procházet zdrojové kódy

Allow override of Vagrant settings

Nigel Fletton před 7 roky
rodič
revize
ea11cb853d
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  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