From 9dcaaa4b296a7adfa19791861b856d4097b05d09 Mon Sep 17 00:00:00 2001 From: Corey Hemminger Date: Sun, 4 Feb 2024 12:18:01 -0600 Subject: [PATCH] test Signed-off-by: Corey Hemminger --- .github/workflows/test-pkr-bld-hyperv-x64.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-pkr-bld-hyperv-x64.yml b/.github/workflows/test-pkr-bld-hyperv-x64.yml index 24cb1e4a9..7623e6d87 100644 --- a/.github/workflows/test-pkr-bld-hyperv-x64.yml +++ b/.github/workflows/test-pkr-bld-hyperv-x64.yml @@ -44,7 +44,8 @@ jobs: shell: pwsh run: | packer -v - DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V +# DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V + Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All -NoRestart $hyperv = Get-WindowsOptionalFeature -FeatureName Microsoft-Hyper-V-All -Online # Check if Hyper-V is enabled if($hyperv.State -eq "Enabled") {