what's the api of pvesh equivalent of qm guest exec?
eg. qm guest exec 100 '/bin/ls' -- '-ald' '/tmp'
i tried pvesh create /nodes/xxx/qemu/100/agent/exec -command 'ls -ald /tmp', but it's giving me an error:
Wide character in die at /usr/share/perl5/PVE/RESTHandler.pm line 869.
also, i noticed qm shows the command output, but pvesh returns just the pid
eg. qm guest exec 100 '/bin/ls' -- '-ald' '/tmp'
i tried pvesh create /nodes/xxx/qemu/100/agent/exec -command 'ls -ald /tmp', but it's giving me an error:
Wide character in die at /usr/share/perl5/PVE/RESTHandler.pm line 869.
also, i noticed qm shows the command output, but pvesh returns just the pid