From 1d1b0c97915a59cfc9dd08b536c14de9dfe9d308 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 12 Dec 2023 01:34:11 +0100 Subject: [PATCH] Install QEMU guest agent for KVM machine --- profiles/KVM/Windows/Install.ps1 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/profiles/KVM/Windows/Install.ps1 b/profiles/KVM/Windows/Install.ps1 index 18c87f0e..b6a69b26 100644 --- a/profiles/KVM/Windows/Install.ps1 +++ b/profiles/KVM/Windows/Install.ps1 @@ -1,7 +1,17 @@ #!/bin/pwsh +. "$PSScriptRoot/Drivers.ps1"; + function Initialize-Configuration { # Hide update which prevents use of WSL in KVM Get-WindowsUpdate -KBArticleID KB5032190 -Hide -AcceptAll; } +function Install-PortValhallaDrivers { + param( + [Context] $context + ) + + choco install -y --params "'ALLUSERS=1'" qemu-guest-agent; +} + . "$PSScriptRoot/../../Generic/Windows/Install.ps1";