vmware/pyvmomi-community-samples

VMware Tools doesn't start automatically

Offen

#591 geöffnet am 11.07.2019

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Python (914 Forks)batch import
help wanted

Repository-Metriken

Stars
 (972 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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!

Contributor Guide