alibaba / packer-provider

Apache License 2.0
93 stars 26 forks source link

Adding a Password parameter for troubleshooting #71

Closed matttrach closed 5 years ago

matttrach commented 5 years ago

Any chance we can get a password parameter for troubleshooting instances that fail to create? There is a disable_stop_instance flag for this purpose, I would like some way to easily login to the server. I can't find a way to get the temp key or set a password on image creation fail.

chhaj5236 commented 5 years ago

@matttrach You can run Packer command with -debug option. It will store the temp key in the same directory where you run the command, and the building process will stop at each step waiting for your command to proceed.