Good morning,
I use the event VMPSMasterWorkflow32.MachineActivated -> Post to finalize the configuration of a deployment. It works well.
But I have got the need to execute some code on the machine via VMWare Tools when the machine has been fully started. I have tried to add it to the VM object in the Post event, but it fails. I doubt at that point it is not fully available...
So my question. How should I access and run via VMWare Tools during my deployment?
Regards Kjeld
A vSphere machine is available from PRE-MachineProvisioned onwards.
I wouldn't use POST-MachineActivated if the code you need to run is critical to the build and needs to be blocking/failure state.
Thanks Steve,
it was my code which was faulty. It works in both states. It was a bash script at had to execute as final part of my Linux installation, e.g users, postfix etc.