When I generate virtual machines I also customize them using the sysprep mechanism.
How can I know when the customization is done through the vsphere api ? It is crucial for me as I need to perform several operations only AFTER the customization is done on the machine. (e.g. updating active direcotry....)
Thanks
vSphere generates events to convey information about various actions that take place in the system. You can monitor these events to keep track of an action. In order to check if customization is complete, you can monitor for "CustomizationSucceeded" event.
For more information on events, check out SDK Programming guide:
http://www.vmware.com/support/developer/vc-sdk/visdk41pubs/vsp41_vsdk_prog_guide.pdf
vSphere generates events to convey information about various actions that take place in the system. You can monitor these events to keep track of an action. In order to check if customization is complete, you can monitor for "CustomizationSucceeded" event.
For more information on events, check out SDK Programming guide:
http://www.vmware.com/support/developer/vc-sdk/visdk41pubs/vsp41_vsdk_prog_guide.pdf
Perfect !
Thank alot