I have tried the same. WinRM timeout is the issue when it is trying to connect to the VM provisioned. i have tried different images and increased timeout as well. It didn't help. Tried to login manually into the packer provisioned machine, WinRM is disabled. How can we enable the WinRM in Azure machines using packer? For AWS, we are enabling the WinRM settings in user_data_file. Similarly for Azure do we have any option?
On Friday, January 17, 2020 at 11:23:32 PM UTC+5:30, Alvaro Miranda Aguilera wrote: > > have you tried azure example? > > they use winrm > > > https://docs.microsoft.com/en-us/azure/virtual-machines/windows/build-image-with-packer > > > On Thu, Jan 16, 2020 at 11:30 AM mohanapriya k1990 <mohanap...@gmail.com > <javascript:>> wrote: > >> Hi, Thanks for you reply. could you please mention where should i mention >> the winrm settings file in packer script for Azure. >> >> On Thursday, January 9, 2020 at 7:09:49 PM UTC+5:30, dragon788 wrote: >>> >>> Check out the boxstarter.org templates for bootstrapping Windows with >>> WinRM or look at the chef/bento repo on GitHub in the Windows folder to >>> find great examples. >> >> -- >> 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 packe...@googlegroups.com <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/packer-tool/8b577d8e-bdfb-4e3a-a2cd-ade57a19a8d6%40googlegroups.com >> >> <https://groups.google.com/d/msgid/packer-tool/8b577d8e-bdfb-4e3a-a2cd-ade57a19a8d6%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > 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 packer-tool+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/0c56d864-5f01-4573-b1f7-536305dadb9d%40googlegroups.com.