pyvmomi-community-samples
pyvmomi-community-samples copied to clipboard
pyvmomi Install VMware Tools.
Hi Team,
I'm trying to install VMware tools using pyVmomi driver and getting below error. "Cannot complete operation because VMware Tools is not running in this virtual machine."
Steps which I tried:
- vmObj.MountToolsInstaller()
- vmObj.UpgradeTools()
After mounting the Installer, do i need to use UpgradeTools method to Install the VMware tools? I'm not sure if UpgradeTools() provides a functionality of fresh installation.
Can some one please help me with the solution??
Thanks Srini