Use ssh_host instead of floating ip for openstack builder

19 views
Skip to first unread message

Eike Isermann

unread,
Jan 14, 2019, 8:37:36 AM1/14/19
to Packer
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

Rickard von Essen

unread,
Jan 14, 2019, 9:06:55 AM1/14/19
to packe...@googlegroups.com

Have you experimented with ssh_interface? 

ssh_host doesn't have the highest priority that is a bug. Please report an issue on github. 


--
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 packer-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/085dbb79-b560-4fc6-9284-084fb1f13574%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages