Have you experimented with ssh_interface? ssh_host doesn't have the highest priority that is a bug. Please report an issue on github.
https://packer.io/docs/builders/openstack.html#ssh_interface On Mon, Jan 14, 2019, 14:37 Eike Isermann <[email protected] wrote: > Hi there, > > we are successfully using packer to build our machine images in a > customers private cloud. Recently we started to set up a new environment > where floating IPs lie in a network not directly accessible from our > gateway - so there is a NAT-routing for each of the floating IPs. > > Now if we want provision a new image I'd like to assign the correct > floating IP but use the NAT IP to connect via ssh for provisioning. Simply > setting communicator: "ssh" and "ssh_host": *nat_ip* does not work as it > seems to get overridden by the existing floating_ip. Does anybody have an > advice on how to deal with this situation? > > Thanks & best regards > Eike > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/mitchellh/packer/issues > IRC: #packer-tool on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Packer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/packer-tool/085dbb79-b560-4fc6-9284-084fb1f13574%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/085dbb79-b560-4fc6-9284-084fb1f13574%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CALz9Rt8%3DhBqd8UOrSd%3DfRcxCsE%3DYJKOi5THxuN4UA4s6v%3Dp0QA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
