Which vcenter permissions?

Hi!

I am trying to use this: community.vmware.vmware_guest_sendkey
Unfortunately I cannot find which permissions I need in vcenter. console interation is already added, so that one isn’t it :frowning:

Do you have any idea?

Thanks!

What error do you get?

TASK [Send escape key stroke at boot prompt] ********************************************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to send key (vim.vm.UsbScanCodeSpec.KeyEvent) {\n   dynamicType = <unset>,\n   dynamicProperty = (vmodl.DynamicProperty) [],\n   usbHidCode = 524295,\n   modifiers = (vim.vm.UsbScanCodeSpec.ModifierType) {\n      dynamicType = <unset>,\n      dynamicProperty = (vmodl.DynamicProperty) [],\n      leftControl = false,\n      leftShift = false,\n      leftAlt = false,\n      leftGui = false,\n      rightControl = false,\n      rightShift = false,\n      rightAlt = false,\n      rightGui = false\n   }\n} to virtual machine due to Permission to perform this operation was denied."}

Looking at Virtual Machine Interaction Privileges maybe Virtual machine.Interaction.Inject USB HID scan codes? I think this is what the modules does.

I’m not sure, this is just an (educated) guess. Might be worth a try.

You are 100% correct, thanks!!