[Packer Breakpoint] how to find the SSH key to SSH into the Packer Builder instance

32 views
Skip to first unread message

Chris Duong

unread,
Mar 20, 2019, 5:22:47 AM3/20/19
to Packer
Hi,

I know that -debug option will allow me to SSH into the Builder instance with SSH KEY inside the current working folder. However the flip side is I have to press a lot of ENTER to go the point I want to debug.

I decided to use BREAKPOINT provisioner to be able to skip Steps. I think there would an SSH key somewhere so that I can use, because without the SSH Key. Packer cannot run the SHELL provisioner.

I hope my guessing is correct.

Megan Marsh

unread,
Mar 20, 2019, 9:45:33 AM3/20/19
to packe...@googlegroups.com
Currently Packer doesn't write the generated SSH key to file for the breakpoint provisioner. If you open a feature request we could look at implementing this, but right now if you want to use the breakpoint provisioner instead of SSH you'll have to generate your own keys and provide them to Packer.

--
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/f48cbdb5-9556-48de-85cd-a6e0840d0118%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Rickard von Essen

unread,
Mar 20, 2019, 1:37:28 PM3/20/19
to packe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages