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
- 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.