pyvmomi-community-samples icon indicating copy to clipboard operation
pyvmomi-community-samples copied to clipboard

pyvmomi Install VMware Tools.

Open srinivasguttur opened this issue 6 years ago • 4 comments

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:

  1. vmObj.MountToolsInstaller()
  2. 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

srinivasguttur avatar Feb 13 '19 13:02 srinivasguttur