Add Windows Server 2022 image templates (#3929)
* add windows2022 image template Co-authored-by: Aleksandr Chebotov <[email protected]> Co-authored-by: Mikhail Timofeev <[email protected]> Co-authored-by: Aleksandr Chebotov <[email protected]> Co-authored-by: MaksimZhukov <[email protected]>
This commit is contained in:
co-authored by
Aleksandr Chebotov
Mikhail Timofeev
Aleksandr Chebotov
MaksimZhukov
parent
20584a4394
commit
a2d76d2a0e
@@ -15,8 +15,8 @@ C:\msys64\usr\bin\bash.exe -leo pipefail %*
|
||||
# gitbash <--> C:\Program Files\Git\bin\bash.exe
|
||||
New-Item -ItemType SymbolicLink -Path "$shellPath\gitbash.exe" -Target "$env:ProgramFiles\Git\bin\bash.exe" | Out-Null
|
||||
|
||||
# WSL is available on Windows Server 2019
|
||||
if (Test-IsWin19)
|
||||
# WSL is available on Windows Server 2019 and Windows Server 2022
|
||||
if (-not (Test-IsWin16))
|
||||
{
|
||||
# wslbash <--> C:\Windows\System32\bash.exe
|
||||
New-Item -ItemType SymbolicLink -Path "$shellPath\wslbash.exe" -Target "$env:SystemRoot\System32\bash.exe" | Out-Null
|
||||
|
||||
Reference in New Issue
Block a user