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