Hello,
I want to remove the entire content of /var/log/ inside a VM, I tried with:
But when I check in the VM, seems nothing has happened.
Any idea?
Thanks!
I want to remove the entire content of /var/log/ inside a VM, I tried with:
Code:
qm guest exec 2745 rm -- '-rf' '/var/log/*'
Code:
pvesh create /nodes/ns1028/qemu/2745/agent/exec --command 'rm' --command '-rf' --command '/var/log/*'
But when I check in the VM, seems nothing has happened.
Any idea?
Thanks!