fix ssh interface docs for amazon builders
This commit is contained in:
parent
8098ba9cdf
commit
76251e5fd2
|
@ -378,6 +378,18 @@ type RunConfig struct {
|
|||
|
||||
// Communicator settings
|
||||
Comm communicator.Config `mapstructure:",squash"`
|
||||
|
||||
// One of `public_ip`, `private_ip`, `public_dns`, or `private_dns`. If
|
||||
// set, either the public IP address, private IP address, public DNS name
|
||||
// or private DNS name will used as the host for SSH. The default behaviour
|
||||
// if inside a VPC is to use the public IP address if available, otherwise
|
||||
// the private IP address will be used. If not in a VPC the public DNS name
|
||||
// will be used. Also works for WinRM.
|
||||
//
|
||||
// Where Packer is configured for an outbound proxy but WinRM traffic
|
||||
// should be direct, `ssh_interface` must be set to `private_dns` and
|
||||
// `<region>.compute.internal` included in the `NO_PROXY` environment
|
||||
// variable.
|
||||
SSHInterface string `mapstructure:"ssh_interface"`
|
||||
}
|
||||
|
||||
|
|
|
@ -97,7 +97,6 @@ Block devices can be nested in the
|
|||
|
||||
<%= partial "partials/helper/communicator/Config-not-required" %>
|
||||
<%= partial "partials/helper/communicator/SSH-not-required" %>
|
||||
<%= partial "partials/helper/communicator/SSHInterface-not-required" %>
|
||||
|
||||
## Basic Example
|
||||
|
||||
|
|
|
@ -99,7 +99,6 @@ Block devices can be nested in the
|
|||
|
||||
<%= partial "partials/helper/communicator/Config-not-required" %>
|
||||
<%= partial "partials/helper/communicator/SSH-not-required" %>
|
||||
<%= partial "partials/helper/communicator/SSHInterface-not-required" %>
|
||||
|
||||
## Basic Example
|
||||
|
||||
|
|
|
@ -110,7 +110,6 @@ Block devices can be nested in the
|
|||
|
||||
<%= partial "partials/helper/communicator/Config-not-required" %>
|
||||
<%= partial "partials/helper/communicator/SSH-not-required" %>
|
||||
<%= partial "partials/helper/communicator/SSHInterface-not-required" %>
|
||||
|
||||
## Basic Example
|
||||
|
||||
|
|
|
@ -285,4 +285,15 @@
|
|||
password for Windows instances. Defaults to 20 minutes. Example value:
|
||||
10m
|
||||
|
||||
- `ssh_interface` (string) - SSH Interface
|
||||
- `ssh_interface` (string) - One of `public_ip`, `private_ip`, `public_dns`, or `private_dns`. If
|
||||
set, either the public IP address, private IP address, public DNS name
|
||||
or private DNS name will used as the host for SSH. The default behaviour
|
||||
if inside a VPC is to use the public IP address if available, otherwise
|
||||
the private IP address will be used. If not in a VPC the public DNS name
|
||||
will be used. Also works for WinRM.
|
||||
|
||||
Where Packer is configured for an outbound proxy but WinRM traffic
|
||||
should be direct, `ssh_interface` must be set to `private_dns` and
|
||||
`<region>.compute.internal` included in the `NO_PROXY` environment
|
||||
variable.
|
||||
|
Loading…
Reference in New Issue