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 f5884c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion IMG_SFX
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20230921t145748z-f38f37d13
20230926t165419z-f38f37d13
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 f5884c1

Please sign in to comment.