hello

try with -*on-error*=ask

you can use the normal ways to get creds info, how do you do it when you
build a vm manually?



On Tue, Feb 27, 2018 at 3:42 AM, Wouter de Kort <[email protected]>
wrote:

> Hi Team,
>
> I'm looking into how to Remote Desktop into the temporary VM that Packer
> uses when building my image. I'm using Azure.
>
> I see that the temporary resource group is created and that it contains
> the VM. I've tried things like:
>
> $env:PACKER_LOG=1
> $env:PACKER_LOG_PATH="packerlog.txt"
>
> and running packer build with -on-error=abort.
>
> The documentation states:
>
> *As of Packer 0.8.1 the default WinRM communicator will emit the password
> for a Remote Desktop Connection into your instance. This happens following
> the several minute pause as the instance is booted. Note a .pem key is
> still created for securely transmitting the password. Packer automatically
> decrypts the password for you in debug mode.*
>
> I have no idea what this means. Which password is emitted? Where can I
> view this password? Can I RDP into the Packer VM to debug it?
>
> Thanks!
> Wouter
>
> --
> 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/51d721f0-7317-4a88-9832-1678b5c024ae%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/51d721f0-7317-4a88-9832-1678b5c024ae%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Alvaro

-- 
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/CAHqq0exyaZ%3DP7UQmhFN6b65i_cL-0ENmGZjYtVRMiGut3ZrgMQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to