Skip to content

Commit

Permalink
chore: windows desktop with wsl Fixes #71
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Riobo Lorenzo <[email protected]>
  • Loading branch information
adrianriobo committed Oct 16, 2023
1 parent 9f4a622 commit 15bcccf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/provider/azure/action/windows/rhqp-ci-setup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ switch ($osProductType)
"Server" {Install-WindowsFeature -Name Hyper-V -IncludeManagementTools}
}

# Install wsl2
Enable-WindowsOptionalFeature -Online -NoRestart -FeatureName VirtualMachinePlatform
Enable-WindowsOptionalFeature -Online -NoRestart -FeatureName Microsoft-Windows-Subsystem-Linux
New-Item -Path "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp" -Name wsl-install.bat -ItemType "file" -Value 'wsl --update'

# Install sshd
# Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
curl.exe -LO https://github.com/PowerShell/Win32-OpenSSH/releases/download/v9.2.0.0p1-Beta/OpenSSH-Win64-v9.2.0.0.msi
Expand Down

0 comments on commit 15bcccf

Please sign in to comment.