XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Where does cloud-init log? Deployed template not 100% as configured.

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    5 Posts 2 Posters 642 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      spidernin
      last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Are you using the Debian template from XO Hub?

        1 Reply Last reply Reply Quote 0
        • S Offline
          spidernin
          last edited by

          No. I am trying to create my own Debian 10 template from fresh net-install iso (selected "other install media") per the article.

          1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by olivierlambert

            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.

            flipsa created this issue in vatesfr/xen-orchestra

            closed Cloud-init NoCloud block device has wrong dosfslabel --> cloud-init can't find datasource and exits #4449

            1 Reply Last reply Reply Quote 0
            • S Offline
              spidernin
              last edited by

              Genius! That did the trick. Much appreciated.

              1 Reply Last reply Reply Quote 1

              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
              • First post
                Last post