Browse code

use the directory where the vagrantfile is located for mounting

Nelson Chen authored on 2013/03/27 15:14:50
Showing 1 changed files
... ...
@@ -37,7 +37,7 @@ def v10(config)
37 37
   # Share an additional folder to the guest VM. The first argument is
38 38
   # an identifier, the second is the path on the guest to mount the
39 39
   # folder, and the third is the path on the host to the actual folder.
40
-  config.vm.share_folder "v-data", "~/docker", "~/docker"
40
+  config.vm.share_folder "v-data", "~/docker", File.dirname(__FILE__)
41 41
 
42 42
   # Enable provisioning with Puppet stand alone.  Puppet manifests
43 43
   # are contained in a directory path relative to this Vagrantfile.