This page was set to be reviewed before 2022-01-01 by the page owner.
Contact the page Owner (opens default mail client) if you require this page to be updated
Cloud init is awesome, but a pain to set up.
Hopefully if you're reading this then we're on an adventure!
Create a vm of ubuntu
Set it up with your usual username and password
Log on and mount the xen tools. (guest-tools.iso on xcp)
on the vm
Delete the stuff in
Probably worth doing any custom shit like dot files or default ssh keys, ntp settings, routes and dns settings. Whilst this can be done though cloud-init, it does help to have it in the template
Unmount any disks and clear anything off the VM like text files or crap you've left there
Shutdown the VM and convert it to a template on xcp-ng
When you create a new VM, ensure to use the name of the template vm. Pick your cloud-init type, be in a full file or just ssh keys.
Want to make this site better? Open a PR or help fund hosting costs