If you are building from ISO, then lots of configuration needs to happen via an answer file before Packer can connect. I recommend using the web console in vsphere to look and see where the VM is hanging. Logging from Packer won't be useful until Packer can actually connect.
On Sun, Feb 14, 2021 at 6:39 AM Tony Wong <[email protected]> wrote: > why is it waiting for winrm to become available? > > On Sun, Feb 14, 2021 at 6:29 AM Tony Wong <[email protected]> wrote: > >> ok now I got a step further. >> its now stuck on >> waiting on winrm to become available. >> >> I checked and there is no firewall between. and port 5985 is listening >> >> any idea? >> >> On Sun, Feb 14, 2021 at 6:01 AM [email protected] <[email protected]> >> wrote: >> >>> I keep getting this when building win 2016 vm template in vsphere. >>> >>> any idea? >>> >>> I tried rebooting the vm and same problem >>> >>> >>> -- >>> 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/hashicorp/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/b9816eb1-10e2-46ff-bd9f-a5b6c1eac286n%40googlegroups.com >>> <https://groups.google.com/d/msgid/packer-tool/b9816eb1-10e2-46ff-bd9f-a5b6c1eac286n%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- > 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/hashicorp/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/CALmkhkqBaaHY3ywjwWFAYncNH44Wk6ojPgE3RQqQU8OtsXQ2xA%40mail.gmail.com > <https://groups.google.com/d/msgid/packer-tool/CALmkhkqBaaHY3ywjwWFAYncNH44Wk6ojPgE3RQqQU8OtsXQ2xA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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/hashicorp/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/CAGPV1uqpZdcxAgdeJxY8fbaoqxKw8333JFjscZDhv01_U9OEMg%40mail.gmail.com.
