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?