vmware/pyvmomi-community-samples

pyvmomi Install VMware Tools.

開放

#547 建立於 2019年2月13日

 (4 則留言) (0 個反應) (0 位負責人)Python (914 個分叉)batch import
help wanted

倉庫指標

星標
 (972 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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

貢獻者指南