Hi Marty, I usually use distro-vendor provided cloud-init templates [1] as I'm using KVM based infra (the .img/qcow2 works out of the box). Otherwise, for other hypervisors I either convert them to vhd or vmdk/ova; or create an instance in CloudStack using ISO, enable cloud-init or cloudbase-init (windows), and shutdown the VM and export/convert the root disk of the VM as a template.
[1] * Ubuntu 24.04: https://cloud-images.ubuntu.com/releases/24.04/release/ubuntu-24.04-server-cloudimg-amd64.img * Ubuntu 22.04: https://cloud-images.ubuntu.com/releases/22.04/release/ubuntu-22.04-server-cloudimg-amd64.img * Ubuntu 20.04: https://cloud-images.ubuntu.com/releases/20.04/release/ubuntu-20.04-server-cloudimg-amd64.img * Debian 12: https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2 * AlmaLinux 8: https://repo.almalinux.org/almalinux/8/cloud/x86_64/images/AlmaLinux-8-GenericCloud-latest.x86_64.qcow2 * AlmaLinux 9: https://repo.almalinux.org/almalinux/9/cloud/x86_64/images/AlmaLinux-9-GenericCloud-latest.x86_64.qcow2 * OpenSUSE 15: https://download.opensuse.org/distribution/leap/15.5/appliances/openSUSE-Leap-15.5-Minimal-VM.x86_64-Cloud.qcow2 Regards. ________________________________ From: Marty Godsey <[email protected]> Sent: Tuesday, August 6, 2024 01:32 To: [email protected] <[email protected]> Subject: Recommended Way to Add template Hello All, I usually create a new compute template on another XCP server, export and import the disk. This works fine, but as you can imagine, it has extra steps. How does everyone else do this? Do you create the VM in CS as an Admin and convert? Regards, Marty Godsey
