vmware/pyvmomi-community-samples

pyvmomi Install VMware Tools.

Ouverte

#547 ouverte le 13 févr. 2019

 (4 commentaires) (0 réaction) (0 personne assignée)Python (914 forks)batch import
help wanted

Métriques du dépôt

Stars
 (972 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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

Guide contributeur