From 7930efd4977e6c3bfec7d1a705fa2de6d7fbfe26 Mon Sep 17 00:00:00 2001 From: Nelson Chen Date: Tue, 26 Mar 2013 23:14:50 -0700 Subject: [PATCH] use the directory where the vagrantfile is located for mounting Upstream-commit: 43213dfc4a441ca347cd97ceca219e8e021f08ef Component: engine --- components/engine/Vagrantfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/engine/Vagrantfile b/components/engine/Vagrantfile index 37ad298b32..884cb40a9b 100644 --- a/components/engine/Vagrantfile +++ b/components/engine/Vagrantfile @@ -37,7 +37,7 @@ def v10(config) # Share an additional folder to the guest VM. The first argument is # an identifier, the second is the path on the guest to mount the # folder, and the third is the path on the host to the actual folder. - config.vm.share_folder "v-data", "~/docker", "~/docker" + config.vm.share_folder "v-data", "~/docker", File.dirname(__FILE__) # Enable provisioning with Puppet stand alone. Puppet manifests # are contained in a directory path relative to this Vagrantfile.