shell-local: add docs for PACKER_HTTP_ADDR env var

This commit is contained in:
Mathieu Tarral 2018-07-17 18:50:40 +03:00
parent edcc0b3853
commit 221761d97a
1 changed files with 7 additions and 0 deletions

View File

@ -184,6 +184,13 @@ commonly useful environmental variables:
machine that the script is running on. This is useful if you want to run
only certain parts of the script on systems built with certain builders.
- `PACKER_HTTP_ADDR` If using a builder that provides an http server for file
transfer (such as hyperv, parallels, qemu, virtualbox, and vmware), this
will be set to the address. You can use this address in your provisioner to
download large files over http. This may be useful if you're experiencing
slower speeds using the default file provisioner. A file provisioner using
the `winrm` communicator may experience these types of difficulties.
## Safely Writing A Script
Whether you use the `inline` option, or pass it a direct `script` or `scripts`,