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

贡献者指南