Hi Jordan, Thanks for coming back to me on this, I have attached other image script which uses the same user data. When you said adding the WSMan listener, is that on line 8 or line 29 of my user data script which I attached previously?
Kishore On Wednesday, June 19, 2019 at 6:35:38 AM UTC+1, Jordan Borean wrote: > > When you say it works perfectly with other images can you share some more > info. I see you are manually adding the WSMan listener but one step you are > missing is to set the LocalAccountTokenFilterPolicy [1] setting. This must > be set to not filter the token on network logons for WinRM to work as only > Administrators can connect to a WinRM endpoint by default. It would be > great if you could share the debug logs of a Packer run as that usually > logs WinRM attemps and if it even attempted to connect. > > Some other brief notes when looking at your user data; > > > - You are setting AllowUnencrypted = $true even though you are running > over HTTPS, this is not needed and really shouldn't be set unless you want > to run over HTTP > - You are setting TrustedHosts on the Client side, this isn't needed > for Packer unless that's what you want done as part of your image build > > > [1] - > https://support.microsoft.com/en-us/help/951016/description-of-user-account-control-and-remote-restrictions-in-windows > > Thanks > > Jordan > -- 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/5a3b089e-a95f-44f2-a258-463baf2dfc9b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
win2016-elasticbeanstalk.json
Description: application/json
