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

  1. Install cloud-init and OpenSSH Server in the virtual machine.
  2. Enable logging for virtual machines that will be created from the template.

  3. Convert the VM boot volume to the template.