Skip to content

UnmountToolsInstaller does not return until a humain answer the VM #232

Open
@mathieu182

Description

@mathieu182

Hiya,

I'm trying to mount and unmount vmtools using:

MountToolsInstaller()
UnmountToolsInstaller()

However I've sometimes a VM question to answer, right after the UnmountToolsInstaller() call, like this one:
"The guest operating system has locked the CD-ROM door and is probably using the CD-ROM, which can prevent the guest from recognizing media changes. If possible, eject the CD-ROM from inside the guest before disconnecting. Disconnect anyway and override the lock? (yes/no)"

As the UnmountToolsInstaller() returns none, I cannot answer the VM as it's done with powerOn for instance. Moreover, the application waits for UnmountToolsInstaller() to return, which happens only when someone answer the question.

So I'm wondering if it's a design issue or if I'm not using pyvmomi the proper way. Any help / feedback would be greatly appreciated.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions