Preparing templates
You may need to create a template in these cases:
- To rescue a virtual machine
- To create a VM accessible via SSH
- To create a VM customizable with user data
Preparation overview
- Install cloud-init and OpenSSH Server in the virtual machine.
-
Enable logging for virtual machines that will be created from the template.
- Convert the VM boot volume to the template, as described in Creating images from volumes.