Skip to content

Commit

Permalink
Add Hyper-V
Browse files Browse the repository at this point in the history
Signed-off-by: Jason T. Greene <[email protected]>
  • Loading branch information
n1hility committed Sep 26, 2023
1 parent 2028aa5 commit 3e6fdd2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions win_images/win_packaging.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocola
choco install -y git mingw archiver psexec; CheckExit
choco install golang --version 1.19.2 -y; CheckExit

# Install Hyper-V
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All -NoRestart

# Install WSL, and capture text output which is not normally visible
$x = wsl --install; CheckExit 0 1 # wsl returns 1 on reboot required
Write-Output $x
Expand Down

0 comments on commit 3e6fdd2

Please sign in to comment.