vmware/pyvmomi-community-samples

VMware Tools doesn't start automatically

開放

#591 建立於 2019年7月11日

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

倉庫指標

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

描述

Hi,

when I try to access a VM via pyvmomi VMware tools doesn't active. I can't automatically call some API calls on it, because VMware tools only activates, if I open the VM via GUI in vSphere on the Web/Remote Console before. Once I opened the VM manually I don't need to have any active session anymore, except when I try to use

creds = vim.vm.guest.NamePasswordAuthentication(username=vm_user, password=vm_pw, interactiveSession=True)

to start programs that can't be started without having interactiveSession set to True.

Is there some workaround for my problems here? I hope for help!

Thank you very much in advance!

貢獻者指南