Hooks
Post-clone Hook
The post-clone hook lets you execute custom code after a machine has been cloned.
- Place a file called post-clone.sh into the /var/lib/kvm/yourtemplate or /var/lib/lxc/yourtemplate directory.
- The working directory is set to the current machine.
Security note: The script runs as root. An incorrectly written script could damage any file across the entire filesystem.
