My somewhat stale PR would give you this.

See https://github.com/hashicorp/packer/pull/6863

On Wed, Mar 20, 2019, 14:45 Megan Marsh <[email protected]> wrote:

> 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.
>
> On Wed, Mar 20, 2019 at 3:22 AM Chris Duong <[email protected]>
> wrote:
>
>> 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.
>>
>> --
>> 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/f48cbdb5-9556-48de-85cd-a6e0840d0118%40googlegroups.com
>> <https://groups.google.com/d/msgid/packer-tool/f48cbdb5-9556-48de-85cd-a6e0840d0118%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/CAGPV1upKx_dSZ%2BSE8-siL%2Bf0dP9T5JL%2Bckk-76k6nhJZrE7UKw%40mail.gmail.com
> <https://groups.google.com/d/msgid/packer-tool/CAGPV1upKx_dSZ%2BSE8-siL%2Bf0dP9T5JL%2Bckk-76k6nhJZrE7UKw%40mail.gmail.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/CALz9Rt-ejAZxm%2BZYx%2B0j0_nNsOSF74-11VaZFD3whS6wm450NQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to