I also forgot to mention - we also add these lines into our agent.properties 
file on the KVM hosts so that we get better display resolution and use virtio 
for the graphics driver

vm.video.ram=65536
vm.video.hardware=virtio

and of course the virtio drivers and qemu agent are installed into all of our 
Windows templates




Gary Dixon
Quadris Cloud Manager
+44 (0) 161 537 4980 +44 (0) 7989 717661
gary.di...@quadris.co.uk
www.quadris.com
Innovation House, 12-13 Bredbury Business Park
Bredbury Park Way, Bredbury, Stockport, SK6 2SN
-----Original Message-----
From: Francisco Arencibia Quesada <arencibia.franci...@gmail.com>
Sent: Thursday, May 16, 2024 11:51 AM
To: users@cloudstack.apache.org
Subject: Re: Windows templates KVM

Hi Gary,
Yes we are using cloud-init and in our case we are removing the recovery 
partition, with XCP templates all good, now we are testing the same with KVM.
Thank you for your feedback :)

Regards

On Thu, May 16, 2024 at 12:48 PM Gary Dixon <gary.di...@quadris.co.uk.invalid> 
wrote:

> Hi Fransisco
>
> Be careful if you are building Windows 11 or Wiindows Server 2022
> templates as Microsoft have changed the default OS partitioning - they
> have put the recovery partition at the end of the disk..
>
> We build these initially from ISO so we can add a 1Gb partition - this
> then gives us the opportunity after the VM is built to re-arrange the
> OS partitions without losing the recovery partition but also allows us
> to 'resize' the C drive later on if we ever need to - you can find
> more detailed info here
> https://supe/
> ruser.com%2Fquestions%2F1453790%2Fhow-to-move-the-recovery-partition-o
> n-windows-10&data=05%7C02%7CGary.Dixon%40quadris.co.uk%7Cf0c2f74a25204
> a14834108dc7596172c%7Cf1d6abf3d3b44894ae16db0fb93a96a2%7C0%7C0%7C63851
> 4534711145460%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2lu
> MzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=NMfku5CZydw2mrWW
> 1VIBzqiHfX8SA1zP4Caa1Lp%2FwNg%3D&reserved=0
>
> It can also be useful to install cloudbase-init in your windows
> template which will give you more provisioning functinality
>
> Gary Dixon​​​​
> Quadris Cloud Manager
> +44 (0) 161 537 4980 <+44%20(0)%20161%20537%204980>
>  +44 (0) 7989 717661 <+44%20(0)%207989%20717661>
> gary.di...@quadris.co.uk
> http://www.q/
> uadris.com%2F&data=05%7C02%7CGary.Dixon%40quadris.co.uk%7Cf0c2f74a2520
> 4a14834108dc7596172c%7Cf1d6abf3d3b44894ae16db0fb93a96a2%7C0%7C0%7C6385
> 14534711154700%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2l
> uMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=ELE8vzHnoRjUl0E
> jyQFn0BUinPeNKf%2FEKyo6HTvjD0I%3D&reserved=0
> Innovation House, 12‑13 Bredbury Business Park Bredbury Park Way,
> Bredbury, Stockport, SK6 2SN
>
> From: Francisco Arencibia Quesada <arencibia.franci...@gmail.com>
> Sent: Thursday, May 16, 2024 11:35 AM
> To: users@cloudstack.apache.org
> Subject: Windows templates KVM
>
> Good morning guys,
>
> Is there any updated guide to build windows templates for KVM? I have
> one but I'm just checking with you guys the best approach. It is also
> required to install virtio drivers and qemu guest agent right?
>
> I have found the latest version of both, is this enough?
>
>
> https://fedo/
> rapeople.org%2Fgroups%2Fvirt%2Fvirtio-win%2Fdirect-downloads%2Farchive
> -virtio%2Fvirtio-win-0.1.248-1%2F&data=05%7C02%7CGary.Dixon%40quadris.
> co.uk%7Cf0c2f74a25204a14834108dc7596172c%7Cf1d6abf3d3b44894ae16db0fb93
> a96a2%7C0%7C0%7C638514534711160251%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4
> wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&s
> data=0s0x%2FyNV6IC3sgJ5WW8S%2FKzHetyux61nNJz7LroGRQ0%3D&reserved=0
>
>
> https://fedo/
> rapeople.org%2Fgroups%2Fvirt%2Fvirtio-win%2Fdirect-downloads%2Farchive
> -qemu-ga%2Fqemu-ga-win-107.0.1-1.el9%2F&data=05%7C02%7CGary.Dixon%40qu
> adris.co.uk%7Cf0c2f74a25204a14834108dc7596172c%7Cf1d6abf3d3b44894ae16d
> b0fb93a96a2%7C0%7C0%7C638514534711164550%7CUnknown%7CTWFpbGZsb3d8eyJWI
> joiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7
> C%7C&sdata=ylpRTsOZexvxDXs7tkJ6JQ12ZVhSSXz7%2B3hXUPoEhh8%3D&reserved=0
>
>
> Regards
> Thanks in advance :)
> --
> *Francisco Arencibia Quesada.*
> *DevOps Engineer*
>


--
*Francisco Arencibia Quesada.*
*DevOps Engineer*

Reply via email to