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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login