vmware/pyvmomi-community-samples

pyvmomi Install VMware Tools.

Open

#547 opened on Feb 13, 2019

 (4 comments) (0 reactions) (0 assignees)Python (914 forks)batch import
help wanted

Repository metrics

Stars
 (972 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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

Contributor guide