We have Proxmox installation. We want to execute a command after new VM was added. It is required for QEMU port redirection since setting redir option is not avaialble on GUI: qm set 102 -args "--redir tcp:30102::3389"
Is there a way to hook to proxmox vm post-create event and execute a binary with vm id as an attribute?
As an alternative approach I was thinking about watching fs file create events under /etc/pve/qemu-server/ path, but I don't think it's a right way for doing that.