Hooks
Post-clone Hook
The post-clone hook allows you to run arbitrary code once the machine cloning is completed.
- Create a file named post-clone.sh within the /var/lib/kvm/yourtemplate or /var/lib/lxc/yourtemplate folder.
- The current directory corresponds to the current machine.
Security implication: The script is executed with root privileges. An incorrectly written script may end up writing to any file on the entire file system.
