I have been trying to find a way to script things for VM creation/shutdown, and hookscripts seem close to what I have been looking for!
https://pve.proxmox.com/pve-docs/pve-admin-guide.html#_hook_scripts
However, in our workflow - we have multiple image templates setup (e.g. Windows 7, Windows 8.1, Windows 10), and people use this to spin up new VMs for testing as needed.
From the documentation - it seems like hookscripts need to be manually setup in the config file, for each new VM.
However, we would like a hook to trigger every time a VM is spun up (either for all VMs, or if possible for all VMs from a given template).
Is there any way to do this with the current technology in Proxmox?
https://pve.proxmox.com/pve-docs/pve-admin-guide.html#_hook_scripts
However, in our workflow - we have multiple image templates setup (e.g. Windows 7, Windows 8.1, Windows 10), and people use this to spin up new VMs for testing as needed.
From the documentation - it seems like hookscripts need to be manually setup in the config file, for each new VM.
However, we would like a hook to trigger every time a VM is spun up (either for all VMs, or if possible for all VMs from a given template).
Is there any way to do this with the current technology in Proxmox?