Did you get a chance to go through my below comments Rickard? Thanks Shyam
On Tuesday, 19 February 2019 13:30:21 UTC+5:30, Shyam J wrote: > > Thanks Rickard for checking. > > 1.IP is already mentioned in autounattednd.xml. > 2. Didnt understand about much in details here. This is the explanation in > packer website. winrm_host > <https://www.packer.io/docs/templates/communicator.html#winrm_host> (string) > - The address for WinRM to connect to. So here which will be the host and > destination? > 3. Read in some vmware forums like VMX data cant be read by operating > system getting installed in VM. Not sure whether its true. So do you know > what parameters we can pass for the same?y > > Thanks > Shyam > > On Tuesday, 12 February 2019 16:36:04 UTC+5:30, Rickard von Essen wrote: >> >> 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/1b56bf2b-795f-4a95-9cba-1f9f9cc38185%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
