Skip to content

Instantly share code, notes, and snippets.

@Schokokex
Schokokex / install.cmd
Created December 15, 2020 20:24
wsl2.centos8.install
;@Findstr -bv ;@F "%~f0" | powershell -command - & powershell -NoLogo & goto:eof
$osName='CentOS8'
$appdir = "$env:LOCALAPPDATA\$osName"
$downloadCent8 = $true # contains launcher and rootfs.tar.gz
$downloadLauncher = $false # in case downloadCent8 = $false
$rootFsFile = "rootfs.tar.gz"
$cent8Url = "https://github.com/yuk7/CentWSL/releases/download/8.1.1911.1/CentOS8.zip"
$launcherUrl = "https://github.com/yuk7/wsldl/releases/download/20100500/Launcher.exe"