vmware/pyvmomi-community-samples

Any sample which shows the use of TicketedSessionAuthentication

Open

#123 aperta il 14 ott 2014

Vedi su GitHub
 (11 commenti) (0 reazioni) (1 assegnatario)Python (914 fork)batch import
help wantedsample request

Metriche repository

Star
 (972 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

http://pubs.vmware.com/vsphere-50/index.jsp#com.vmware.wssdk.apiref.doc_50/vim.vm.guest.TicketedSessionAuthentication.html

The example may look like this :

auth = vim.vm.guest.TicketedSessionAuthentication(ticket=base_64_string)
guest_auth = si.content.guestOperationsManager.authManager.AcquireCredentialsInGuest(vm=vm, requestedAuth=auth)
    processes = si.content.guestOperationsManager.processManager.ListProcessesInGuest(vm=vm, auth=guest_auth)
    si.content.guestOperationsManager.authManager.ReleaseCredentialsInGuest(vm=vm, auth=guest_auth)

I am not able to proceed forward ! AcquireCredentialsInGuest is returning error "The guest operating system does not support the operation"

Guida contributor