I just typo winrm_password. Thank you
2018年3月30日金曜日 10時16分40秒 UTC+9 Wataru Haniyama: > > I tried build using winrm but I get response 401. > > > - Host OS: Windows 10 Pro v1709 > - VM OS: Windos 10 Pro and Windows 7 Pro > - packer version: 1.2.2 > - VirtualBox version: 5.2.8 > > > Log, packer.json, Autounattend.xml is here. > https://gist.github.com/HWataru/a2c0cd7dd8a85927e231ee2a5311e8f0 > > > My command is > > > packer build -force -only=virtualbox-iso -var iso_url=xxxx -var > iso_checksum=xxxx .\windows_10_x64.json > > and packer started build but winrm response 401 content type > > 2018/03/30 09:40:42 packer.exe: 2018/03/30 09:40:42 [INFO] Attempting > WinRM connection... > 2018/03/30 09:40:42 packer.exe: 2018/03/30 09:40:42 [DEBUG] connecting to > remote shell using WinRM > 2018/03/30 09:40:42 packer.exe: 2018/03/30 09:40:42 [ERROR] connection > error: http response error: 401 - invalid content type > 2018/03/30 09:40:42 packer.exe: 2018/03/30 09:40:42 [ERROR] WinRM > connection err: http response error: 401 - invalid content type > > I also check following > > > - turn off windows firewall both Host and Client. > - connect via winrs command to winrm port automatically forwarding > andresponse OK.(ex "winrs.exe -r:http://localhost:4249-u:vagrant > -p:vagrant echo OK") > - increase winrm_timeout value > > What is wrong my settings? > > > > > -- 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/a6508054-9c25-46ea-8eac-2e27a82b4248%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
