packer-cn/website/pages/partials/helper/communicator/WinRM-not-required.mdx

29 lines
1.4 KiB
Plaintext

<!-- Code generated from the comments of the WinRM struct in helper/communicator/config.go; DO NOT EDIT MANUALLY -->
- `winrm_username` (string) - The username to use to connect to WinRM.
- `winrm_password` (string) - The password to use to connect to WinRM.
- `winrm_host` (string) - The address for WinRM to connect to.
NOTE: If using an Amazon EBS builder, you can specify the interface
WinRM connects to via
[`ssh_interface`](https://www.packer.io/docs/builders/amazon-ebs#ssh_interface)
- `winrm_port` (int) - The WinRM port to connect to. This defaults to `5985` for plain
unencrypted connection and `5986` for SSL when `winrm_use_ssl` is set to
true.
- `winrm_timeout` (duration string | ex: "1h5m2s") - The amount of time to wait for WinRM to become available. This defaults
to `30m` since setting up a Windows machine generally takes a long time.
- `winrm_use_ssl` (bool) - If `true`, use HTTPS for WinRM.
- `winrm_insecure` (bool) - If `true`, do not check server certificate chain and host name.
- `winrm_use_ntlm` (bool) - If `true`, NTLMv2 authentication (with session security) will be used
for WinRM, rather than default (basic authentication), removing the
requirement for basic authentication to be enabled within the target
guest. Further reading for remote connection authentication can be found
[here](<https://msdn.microsoft.com/en-us/library/aa384295(v=vs.85).aspx>).