From 4c7fb5ce91d4317bdc5fb819504bce9604cc83a0 Mon Sep 17 00:00:00 2001 From: Michael Bridgen Date: Wed, 15 Oct 2014 00:32:06 +0100 Subject: [PATCH] Added hook for local vagrant config If there's a file Vagrantfile.local, run that too. This can be used to e.g., add the weavedns directory as a synced folder too. --- Vagrantfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index 0f908c0b..303cdfb1 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -21,3 +21,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.provision :shell, :inline => "sudo go install -a -tags netgo std" end + +begin + load 'Vagrantfile.local' +rescue LoadError +end