It turned out I just needed to increase the winrm_timeout to 30m. Thanks, -Gautam
On Wednesday, March 4, 2020 at 4:14:09 PM UTC-6, Gautam Singh wrote: > > I am trying to create Windows 2016 Server AMI using following script > https://gist.github.com/gsinghab2/1adf869a60ac198b0ecb63b9e2ad1b1a > > I have tried Packer both version 1.4.3 and 1.5.4. > > Even though I can RDP to the builder VM, packer is timing out with > following error > packer-builder-amazon-ebs plugin: [ERROR] WinRM connection err: unknown > error Post https://private_ip:5986/wsman: dial tcp: lookup private_ip on > 127.0.0.53:53: server misbehaving > 2020/03/04 22:02:22 ui error: ==> amazon-ebs: Timeout waiting for WinRM. > > > I will highly appreciate your help in this matter. > > Thanks, > -Gautam > > -- 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/aedb3fa3-2208-4902-8fda-072f6fb94633%40googlegroups.com.
