ronivay / XenOrchestraInstallerUpdater

Xen Orchestra install/update script
GNU General Public License v3.0
1.16k stars 189 forks source link

cloud init support #131

Closed ethicnology closed 2 years ago

ethicnology commented 2 years ago

Issue Following the xen orchestra documentation we should be able to use cloud init config files to run vm.
It seems that community edition does not provide any "template of a VM with CloudInit installed inside it", is there a way to make CloudInit works with XO CE or this feature is XOA locked ?

ronivay commented 2 years ago

Hi,

Documentation refers to using config drive which will hold the information used by cloud-init to configure certain things during VM startup. This is fully available in XO from sources as well. You just need a VM template which has cloud-init installed. This is something you can, and have to build yourself unless you can find ready image somewhere. Hub (sort of a template repository) is only available in XOA. That documentation also has a link to (old) blog post which has an example how to build such template manually.

ethicnology commented 2 years ago

Thanks i will try to create a template VM with cloud init.

EDIT: add blog article to make ubuntu VM template with cloud-init