Hi
thanks for the response. I was able to get past the issue by using these
parameters
"winrm_insecure": "true",
"winrm_use_ssl": "false",
It connects on HTTP and works now...BUT now trying to figure the next step
out.
The VM Template gets created fine now but I need to change the
vsphere_scsi_controller_type from lsilogic to pvscsi because of another
tool I am using to sping up the VM's.
I am using the steps in this github repo for the packer steps
https://github.com/dteslya/win-iac-lab
And it seems to use packer plugins from this github.
https://github.com/jetbrains-infra/packer-builder-vsphere/blob/master/README.md
Trying to figure out how I can change packer to build the VM template using
pvscsi scsci type instead of lsilogic.
That prob really confused you
Brian Walker
SA Practice Manager - East / Federal / Canada
[email protected] <[email protected]>
Cell: 919-338-4127
[image: signature_1960088225]
On Thu, Jul 4, 2019 at 9:52 PM Angel Rengifo Cancino <[email protected]>
wrote:
> Hello:
>
> On Thu, Jul 4, 2019 at 1:40 PM 'Brian Walker' via Packer <
> [email protected]> wrote:
>
>> I have seen a lot of people with the same issue when trying to build a
>> windows image with Packer. I have yet to find an answer on how to resolve.
>> I have tried several things which have not resolved the issue.
>>
>> Does anyone have ideas on how to resolve this issue? The VM gets created
>> in vCenter fine. I can do a web console after the VM comes up and show
>> that WinRM is installed and available. My assumption is that it has to do
>> with Authentication. I even tried upping the timeout to 30 minutes but that
>> does not help.
>>
>>
>> Tried these WinRM settings as well...HELP!
>>
>> # Required for WinRM firewall rules
>> $profile = Get-NetConnectionProfile
>> Set-NetConnectionProfile -Name $profile.Name -NetworkCategory Private
>> Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False
>>
>>
>> # Enable WinRM service
>> winrm quickconfig -quiet
>> winrm set winrm/config/service '@{AllowUnencrypted="true"}'
>> winrm set winrm/config/service/auth '@{Basic="true"}'
>> winrm set winrm/config/client
>> '@{TrustedHosts="192.168.1.100,192.168.1.123"}'
>>
>> I don't see you're enabling WinRM SSL. Have you already enabled it? If
> you didn't, then you should not use WinRM SSL in your packer config file.
>
> While waiting for WinRM to connect, try connectivity to port 5986 (SSL) or
> 5985 (no SSL). See which of those ports work.
>
>
> --
> 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/CAA3McK_64GrMjXC19uJ1MXjhSjDW-KEThdOV_0n5NV_v7k%3DO%3Dg%40mail.gmail.com
> <https://groups.google.com/d/msgid/packer-tool/CAA3McK_64GrMjXC19uJ1MXjhSjDW-KEThdOV_0n5NV_v7k%3DO%3Dg%40mail.gmail.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/CAEM4Ntw2mJu%2BhSaz27Qk63ee3VEW5t5N4Z-cyYRi%2BE5MzwYfXw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.