<div dir="ltr">> Are you installing on existing VMs or on new VMs as you create them?<br><br>I'm down for either! My main goal is to find a way that works across all windows OS's. (I.e if virtio-win gets updated to support `windows 12` one day, my script gets it for free. I only maintain an overall "windows" script).<div><br></div><div>> slipstream the drivers into the gold Windows image using DISM</div><div><br></div><div>I had to do some research on this, it's a great idea! I can't find a way to slipstream windows drivers on linux though. I think that means I'd have to spin up a windows VM, mount in the iso and modify it, then delete the original VM. Then spin up a new one with the modified ISO? That's a lot of steps to automate. Though I found a good guide on slipstreaming virtos drivers here: <a href="https://github.com/Zer0CoolX/proxmox-windows-slipstream-virtio-drivers">https://github.com/Zer0CoolX/proxmox-windows-slipstream-virtio-drivers</a>. It would be nice to be able to save updates to the iso too, so I hope there's an easier way I'm missing.</div><div><br></div><div>Thanks!</div><div>Cameron</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Apr 24, 2022 at 10:59 PM Peter Crowther <<a href="mailto:peter.crowther@melandra.com">peter.crowther@melandra.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Are you installing on existing VMs or on new VMs as you create them? If the latter, slipstream the drivers into the gold Windows image using DISM: <a href="https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/add-and-remove-drivers-to-an-offline-windows-image?view=windows-11" target="_blank">https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/add-and-remove-drivers-to-an-offline-windows-image?view=windows-11</a><div dir="auto"><br></div><div dir="auto">Cheers,</div><div dir="auto"><br></div><div dir="auto">Peter </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 25 Apr 2022, 00:28 Cameron Showalter, <<a href="mailto:cameronsplaze222@gmail.com" target="_blank">cameronsplaze222@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I'm trying to write an automatic way to install drivers inside guests, and I'm starting with Windows first. I'm trying to follow this guide here:<br><br><a href="https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/html/virtual_machine_management_guide/installing_guest_agents_and_drivers_windows" rel="noreferrer" target="_blank">https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.4/html/virtual_machine_management_guide/installing_guest_agents_and_drivers_windows</a><br><br></div><div>So I install virtio-win to the host, and mount that as a cd-rom inside the Windows 10 VM. I then want to install ALL drivers and agents like so (Command Prompt as Admin, go to the drive letter the iso is mounted as before running this):<br></div><div><br></div><div>start /wait msiexec /i "virtio-win-gt-x64.msi" /qn ADDLOCAL=ALL</div><div><wait a few minutes JUST TO BE SURE it finished><br></div><div><restart VM><br></div><div><br>And from what I can tell, it works. I can go into device manager, and see drivers for virtio-balooning  / etc. The problem is in virt-manager, going to "View: Scale Displays: Auto-resize VM with window", and it's still greyed out. (Says Guest Agent is not available). Going to "View: Consoles", it says I have "Graphical Console Spice" selected. Any idea what I might be doing wrong?</div><div><br></div><div>And, is this the right approach for automatic guest drivers? Mounting the iso, then use something like "virsh x-exec" to run that msiexec command above.</div><div><br></div><div>Thanks!</div><div>Cameron</div><div><br></div></div>
</blockquote></div>
</blockquote></div>