Hooks
Post-clone Hook
The post-clone hook lets you run arbitrary code after the machine has been cloned.
- Create a file called post-clone.sh in a /var/lib/kvm/yourtemplate or /var/lib/lxc/yourtemplate folder.
- The current directory points to the current machine.
Security note: The script runs with root privileges. An incorrectly written script could write to any file on the entire file system.
