use the directory where the vagrantfile is located for mounting

This commit is contained in:
Nelson Chen 2013-03-26 23:14:50 -07:00
Родитель 4a086dfc08
Коммит 43213dfc4a
1 изменённых файлов: 1 добавлений и 1 удалений

2
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.