Where does cloud-init log? Deployed template not 100% as configured.
-
I am trying to setup a Debian based cloud template in XO. I am following these steps, https://xen-orchestra.com/blog/debian-cloud-template-for-xenserver/. The only thing I am doing differently is I am not using the user "Debian". I am using a different username.
When I deploy the template, the disk resize works, but the hostname update/change and ssh keys don't work on the deployed VM. I looked in /var/log on the deployed guest, but nothing's there.
If you know why the hostname and ssh keys wouldn't be setup or where these issues might be logged, I would greatly appreciate some tips.
Thanks!
-
Are you using the Debian template from XO Hub?
-
No. I am trying to create my own Debian 10 template from fresh net-install iso (selected "other install media") per the article.
-
There's a bug in Cloudinit, so you need to patch it manually.
https://github.com/vatesfr/xen-orchestra/issues/4449
It's patched in the Debian Vm from XO Hub so there's nothing to do.
edit: Cloudinit fixed it in its upstream but not backported yet to Debian.
-
Genius! That did the trick. Much appreciated.