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

    How to build a golden image for Windows template ?

    Scheduled Pinned Locked Moved Infrastructure as Code
    2 Posts 2 Posters 24 Views 2 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.
    • A Offline
      Andrew7
      last edited by

      Hello,

      I don't know if this is the correct group to ask, but I'm going to try anyway.
      I have to create Windows 2022 template, a golden image to be able to spin off new Windows VMs from that template.
      How can I automate that process in XO in order to have sysprep + basic configuration to be set up like static IP address, DNS, VM name etc ?
      I've already installed guest tools and cloudbase-init in VM.
      After cloudbase-init was installed it asked me to reboot VM. I haven't done that and I just did a VM shutdown.
      After that I change VM to template and create another VM from it with custom network profile created in XO
      13fdd84d-6178-48ef-bc99-0e3453753c1f-image.png

      0fff45ac-d028-4fb1-aab2-dd0bbffc4109-image.png

      It doesn't work.
      I have no clue how those custom config settings should be set up. Did I installed cloudbase-init correctly ?

      Will it ever be a an option like in vCenter when you just check the box with sysprep and custom settings for VM deployment like in vCenter ?

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

        Question for dinhngtu

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