Chef provisioning vsphere and knife vsphere


It seems there’s a small feature disparity currently between knife vsphere and chef-provisioning-vsphere and I’m wondering if anyone using either of these has found a solution.

knife vsphere vm clone provides a --cplugin option which allows one to use a custom script “that implements KnifeVspherePlugin.customize_clone_spec and/or KnifeVspherePlugin.reconfig_vm” which looks like this:

Does anyone know what capability, if any, is provided by the provisioning driver to do something similar?

It seems possible since both are using RbVmomi:

Has anyone done this yet?

I dont think the provisioner provides this but it would be cool. You would have to do some fairly ugly monkey patching to get the same behavior right now.