Trying to create a VM from a Template using the script from this post .
The script works fine, the task starts up and starts to copy the VM. It hits 100% and immediately Says "Failed to deploy template: Customization failed." Doesn't give me much info... below is what I found in the log file. Have also attached the ps1 file. Any suggestions or ideas welcome.
Vm provision transaction rollback done
Unable to recover from HY000:0
Clone failed: vim.fault.CustomizationFault
-- FINISH task-278 -- vm-98 -- vim.VirtualMachine.clone -- 36080870-D2E9-4A19-B3D8-18670E334AF9
-- ERROR task-278 -- vm-98 -- vim.VirtualMachine.clone: vim.fault.CustomizationFault:
(vim.fault.CustomizationFault) {
dynamicType = <unset>,
msg = ""
}