ScaleComputing / HyperCoreAnsibleCollection

Official Ansible collection for Scale Computing SC//HyperCore (HC3) v1 API
GNU General Public License v3.0
12 stars 8 forks source link

url2template and template2vm roles #310

Closed justinc1 closed 4 months ago

justinc1 commented 4 months ago

2 new roles are added.

url2template creates template VM from disk image URL. Example URL is https://cloud-images.ubuntu.com/releases/22.04/release-20240416/ubuntu-22.04-server-cloudimg-amd64.img.

Next template2url can be used to create new VMs from template VMs. Here we typically need to configure VM with cloud-init. Cloud-init configuration data depends on the used image. A working example for above Ubuntu image is included.