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

    Cloudbase-init on Windows

    Scheduled Pinned Locked Moved Advanced features
    22 Posts 6 Posters 1.9k Views 6 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.
    • J Offline
      jkatz @Andrew7
      last edited by

      @Andrew7

      You don't. Pretty sure there is a dialog stating this is not reversable when setting a VM as a template.

      What I do is have a source vm and then take a snapshot of it while off. Then create a vm off that snap. Can do versioning this way. Boot the new vm (from the snap), install cloudbase, copy over the cloudbase-init.conf over, shutdown, convert to template.

      I also created my own ISO with the citrix tools, cloudbase installer, and cloudbase config to make it easier.

      Making the hostname update was probably the first thing that got working. Check my cloud-config at the top. That should work. Just be sure to add those last three lines to the cloudbase config too.

      And the only file i change is cloudbase-init.conf.

      A 1 Reply Last reply Reply Quote 0
      • A Offline
        Andrew7 @jkatz
        last edited by

        @jkatz Thanks for that.

        I actually did something different but it worked. I don't know how but it is working.

        I used this in XO in Cloud Config
        a5f1ca37-802a-4ff4-bc4f-6c8ccaa3dc97-image.png

        It worked
        e2666c29-8a03-41e1-879b-b6559b7f0bf2-image.png

        Don't know if does it matter or not ( probably does) that I also entered this plugin into both files :
        cloudbaseinit.plugins.common.sethostname.SetHostNamePlugin

        @jkatz said in Cloudbase-init on Windows:

        You don't.

        That is lame.

        Wonder if domain join is possible with that...

        1 Reply Last reply Reply Quote 0
        • First post
          Last post