Merge pull request #10809 from FranklinYu/doc/expand-var

Mention variable expansion in documentation
This commit is contained in:
Chris Roberts 2019-06-04 11:25:32 -07:00 committed by GitHub
commit ac8916341b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -88,7 +88,9 @@ The file provisioner takes only two options, both of which are required:
* `destination` (string) - Is the remote path on the guest machine where * `destination` (string) - Is the remote path on the guest machine where
the source will be uploaded to. The file/folder is uploaded as the SSH user the source will be uploaded to. The file/folder is uploaded as the SSH user
over SCP, so this location must be writable to that user. The SSH user can be over SCP, so this location must be writable to that user. The SSH user can be
determined by running `vagrant ssh-config`, and defaults to "vagrant". determined by running `vagrant ssh-config`, and defaults to "vagrant". Both
forward and backward slash work for Windows guest. Variables like `$HOME` are
expanded by Vagrant, not by guest.
## Caveats ## Caveats