H Hyien Member Jun 18, 2021 95 2 13 34 Jul 3, 2024 #1 Can someone provide as example for qemu/{vmid}/agent/exec for Proxmox 7 that calls a program with arguments and also uses input-data? Thanks.
Can someone provide as example for qemu/{vmid}/agent/exec for Proxmox 7 that calls a program with arguments and also uses input-data? Thanks.
Moayad Proxmox Staff Member Staff member Jan 2, 2020 3,328 319 108 31 Vienna shop.proxmox.com Jul 4, 2024 #2 Hi, The example of command with its argument is as the following: Code: pvesh create /nodes/pve/qemu/100/agent/exec --command 'ls' --command '-la' --command '/etc/hosts' Do I understand correctly, that the script/program waits for input? or what are you mean exactly?
Hi, The example of command with its argument is as the following: Code: pvesh create /nodes/pve/qemu/100/agent/exec --command 'ls' --command '-la' --command '/etc/hosts' Do I understand correctly, that the script/program waits for input? or what are you mean exactly?