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

    packer template Vdisk issue

    Scheduled Pinned Locked Moved Infrastructure as Code
    16 Posts 3 Posters 562 Views 3 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.
    • AtaxyaNetworkA Offline
      AtaxyaNetwork Ambassador @wezke
      last edited by

      @wezke Do you still have the trace when packer is running ? Maybe i can found what's wrong.
      (I'll try to test on my side today, but I can promise anything)

      AtaxyaNetworkA 1 Reply Last reply Reply Quote 0
      • AtaxyaNetworkA Offline
        AtaxyaNetwork Ambassador @AtaxyaNetwork
        last edited by

        @AtaxyaNetwork I just tested a build with your configuration, i have 20Gb on my disk
        84c58f15-2be6-4dac-9a2b-3977352b004c-image.png

        W 1 Reply Last reply Reply Quote 0
        • W Offline
          wezke @AtaxyaNetwork
          last edited by wezke

          @AtaxyaNetwork

          Thank you for testing

          i will (after working hours) deploy again and show the trace.

          i have been testing with different disk size values and on my side anything higher than 2000mb fails back to 2mib.

          at least i know its not the template but something else causing this. i wonder what..
          i do have enough diskspace left so thats not the issue.

          1 Reply Last reply Reply Quote 0
          • W Offline
            wezke
            last edited by

            packer_log.txt

            Hi, i have added a log file.

            would it matter if i run this on an ssd or not?

            AtaxyaNetworkA 1 Reply Last reply Reply Quote 0
            • AtaxyaNetworkA Offline
              AtaxyaNetwork Ambassador @wezke
              last edited by

              @wezke I see no obvious line to explain why you have an issue with the disk size. The only difference between my build and yours is that you are using the windows 386 version of the builder, and I'm running on Debian.
              Can you try the amd64 version ?

              W 2 Replies Last reply Reply Quote 0
              • W Offline
                wezke @AtaxyaNetwork
                last edited by

                @AtaxyaNetwork Again, thank you for youre time

                i will test the amd64 builder, thats a good suggestion, hopefully that wil solve the issue.

                I also have an issue with the memory config, it will only take 1gb memory.

                perhaps there is an limitation or problem with the windows 386 version

                i will let you know the outcome

                1 Reply Last reply Reply Quote 0
                • W Offline
                  wezke @AtaxyaNetwork
                  last edited by

                  @AtaxyaNetwork

                  That did solve the problem, guess the 386 is the 32bit version, doh!

                  succeeded making debian template with packer, now on to the windows server 2022 template

                  AtaxyaNetworkA 1 Reply Last reply Reply Quote 1
                  • AtaxyaNetworkA Offline
                    AtaxyaNetwork Ambassador @wezke
                    last edited by

                    @wezke Great news !

                    Also, If you'd like to share the packer configuration for windows, I'm interested! I'm curious to see the difference between Linux and Windows boot config

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

                      🍾

                      1 Reply Last reply Reply Quote 0
                      • W Offline
                        wezke @AtaxyaNetwork
                        last edited by

                        @AtaxyaNetwork
                        Do you mean the actual packer pkr.hcl fiel or the unattented.xml?

                        I still need to figure the actual packer file out, hoping it wil be quite similar.

                        i do have an windows server unattended.xml that works with proxmox, just will have to slightly adjust.

                        however i can share both when im done with it

                        AtaxyaNetworkA 1 Reply Last reply Reply Quote 1
                        • AtaxyaNetworkA Offline
                          AtaxyaNetwork Ambassador @wezke
                          last edited by

                          @wezke That would be great ! Thank you !

                          W 1 Reply Last reply Reply Quote 1
                          • W Offline
                            wezke @AtaxyaNetwork
                            last edited by wezke

                            @AtaxyaNetwork

                            Finaly got a Windows Server 2022 packer template to work with xen server guest tools.

                            autounattend.xml in the root dir of the iso along with the guest tool .msi

                            https://www.xenserver.com/downloads

                            autounattend .txt

                            windows server.txt

                            AtaxyaNetworkA 1 Reply Last reply Reply Quote 0
                            • AtaxyaNetworkA Offline
                              AtaxyaNetwork Ambassador @wezke
                              last edited by

                              @wezke Thank you very much ! It'll be helpful for me and the community 🙂

                              W 1 Reply Last reply Reply Quote 0
                              • W Offline
                                wezke @AtaxyaNetwork
                                last edited by

                                @AtaxyaNetwork
                                Glad i can help and give back to the community

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