From c95267fdda896b14b023c24c5b73f59828f148d6 Mon Sep 17 00:00:00 2001 From: Carlos Rodrigues Date: Fri, 22 Jul 2016 14:09:55 +0100 Subject: [PATCH] Update VAGRANT_DOTFILE_PATH documentation --- website/source/docs/other/environmental-variables.html.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/website/source/docs/other/environmental-variables.html.md b/website/source/docs/other/environmental-variables.html.md index 0f827267d..2ef093288 100644 --- a/website/source/docs/other/environmental-variables.html.md +++ b/website/source/docs/other/environmental-variables.html.md @@ -68,6 +68,8 @@ a scripting environment in order to set the directory that Vagrant sees. `VAGRANT_DOTFILE_PATH` can be set to change the directory where Vagrant stores VM-specific state, such as the VirtualBox VM UUID. By default, this is set to `.vagrant`. If you keep your Vagrantfile in a Dropbox folder in order to share the folder between your desktop and laptop (for example), Vagrant will overwrite the files in this directory with the details of the VM on the most recently-used host. To avoid this, you could set `VAGRANT_DOTFILE_PATH` to `.vagrant-laptop` and `.vagrant-desktop` on the respective machines. (Remember to update your `.gitignore`!) +Non-absolute paths in this environmental variable are interpreted as relative to the current working directory unless prefixed with `{}` (example: `{}/.vagrant-laptop`), in which case they're interpreted as relative to the Vagrantfile. + ## `VAGRANT_HOME` `VAGRANT_HOME` can be set to change the directory where Vagrant stores