This should work for all VMs of the cluster: for vmid in $(cat /etc/pve/.vmlist | grep '"type": "qemu"' | cut -d '"' -f2); do qm set ${vmid} --onboot 0; done
and this for LXCs: for vmid in $(cat /etc/pve/.vmlist | grep '"type": "lxc"' | cut -d '"' -f2); do pct set ${vmid} --onboot 0; done
This should work for all VMs of the cluster: for vmid in $(cat /etc/pve/.vmlist | grep '"type": "qemu"' | cut -d '"' -f2); do qm set ${vmid} --onboot 0; done
and this for LXCs: for vmid in $(cat /etc/pve/.vmlist | grep '"type": "lxc"' | cut -d '"' -f2); do pct set ${vmid} --onboot 0; done
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.