Booting the clone with the vsphere-clone builder?

I’m cloning a VM template with a particular vmx configuration that I cannot create using Packer. I need to boot the cloned VM and use the winrm communicator afterwards. Basically just like the vsphere-iso builder, only that it clones beforehand. Any way to do this?

Personally I would invoke govmomi for this job:

Have you looked at the vsphere-clone builder?

1 Like

Did you find/get an answer for that? I’m having the same requirement

That works very well, when creating VMs from templates.

but I haven’t yet found a way to also boot the VM afterwards.

i’ve included some ansible provisioners that should power on the VM and perform other stuff, afterwards, but they don’t seem to get executed by the build.

Any ideas?