If you use a static IP you have to set it in: 1) autounattended.xml so Windows is configured with it. 2) winrm_host in the packer template 3) Maybe somewhere in vmx data to ensure that vSphere doesn't assign it some other IP.
On Tue, Feb 12, 2019, 10:30 Shyam J <[email protected] wrote: > Hi, > > Requesting help!! > I am trying to create vmware windows2012r2 template in ESXi machine. But > Packer stucks at Waiting WinRM. The VM is getting created but mentioned IP > is not getting assigned to the VM(attached screenshot) eventhough we can > see the network card is connected. PFA JSON and autounattend.xml file along > with logs ran in debug mode. > > If the method I am following in autounattend.xml is wrong for static IP > please mention the required one. > > ESXi version: VMware ESXi, 6.0.0, 7967664 > Packer version : 1.3.2 > > Thanks in advance > Shyam > > -- > 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/9736f9e9-e4fc-4c15-a78e-d11fe6a1c556%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/9736f9e9-e4fc-4c15-a78e-d11fe6a1c556%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/CALz9Rt-n2w17avzR_%2B7g6c410JwFtRfXC5P32E12voMz%3Dz9jPw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
