From 43213dfc4a441ca347cd97ceca219e8e021f08ef 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 --- Vagrantfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index 37ad298b32..884cb40a9b 100644 --- a/Vagrantfile +++ b/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.