Proxmox ⛑️
To set a hookscript, use:
pqm set <VMID> --hookscript local:snippets/<your script>
In where local:snippets/<script>
is the path to the script located in /var/lib/vz/snippets/<your script>
.
To remove a hookscript, use:
qm set <VMID> --delete hookscript
qm list will list all the VMs and their respective VMIDs.
Stop the ssh.socket service:
systemctl stop ssh.socket
then enable the sshd service:
systemctl enable ssh
finally, reboot
List available containers:
pveam available
Download a container:
pveam download local debian-12-standard_12.7-1_amd64.tar.zst