update docs to include Azure.

This commit is contained in:
Megan Marsh 2018-04-05 15:26:19 -07:00
parent d236f26439
commit bb53d5f6cc
1 changed files with 3 additions and 4 deletions

View File

@ -72,10 +72,9 @@ Optional parameters:
- `environment_vars` (array of strings) - An array of key/value pairs to - `environment_vars` (array of strings) - An array of key/value pairs to
inject prior to the execute\_command. The format should be `key=value`. inject prior to the execute\_command. The format should be `key=value`.
Packer injects some environmental variables by default into the Packer injects some environmental variables by default into the
environment, as well, which are covered in the section below. If you are environment, as well, which are covered in the section below.
using AWS and would like to use the randomly-generated unique If you are running on AWS or Azure and would like to access the generated
If you are running on AWS and would like to access the AWS-generated password that Packer uses to connect to the instance via
Administrator password that Packer uses to connect to the instance via
WinRM, you can use the template variable `{{.WinRMPassword}}` to set this WinRM, you can use the template variable `{{.WinRMPassword}}` to set this
as an environment variable. For example: as an environment variable. For example: