Sysprep/terraform failure when creating window vm

266 views
Skip to first unread message

Mike Davis

unread,
Feb 21, 2019, 3:17:05 PM2/21/19
to Terraform

We are using terraform to create windows vms using the vsphere provider. When I attempt to use terraform to customize the windows vm with hostname/ipaddress we encounter a failure...


An error occurred while setting up network properties of the guest OS. See the log file C:/Windows/TEMP/vmware-imc/guestcust.log in the guest OS for details.


The log file only has one error... "ERROR] error number 8004100a, WinMgmt :"

I'm trying to just set the host name to start, ip addresses come later, but the error is the same for either.


customize { windows_options { computer_name = "terraform-test" admin_password = "password" } }


Anyone have success assigning hostname and/or ip addresses in a windows vm using terraform?

VRB

unread,
Apr 2, 2019, 3:05:27 AM4/2/19
to Terraform
Hi Mike, Is your issue resolved? I can spinup windows server .. Let me know if you need any assisntance.
Reply all
Reply to author
Forward
0 new messages