1.0 KiB
-
ssh_interface(string) - One ofpublic_ip,private_ip,public_dns, orprivate_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_interfacemust be set toprivate_dnsand<region>.compute.internalincluded in theNO_PROXYenvironment variable. -
ssh_ip_version(string) - The IP version to use for SSH connections, valid values are4and6. Useful on dual stacked instances where the default behavior is to connect via whichever IP address is returned first from the OpenStack API.