/wsl

My WSL templates

Primary LanguagePowerShell

WSL Templates Repo

This repository is used to easily deploy my customized WSL images on any computer by easy and automated way.

It is using my wsl-scripts repository for these actions, but provide special customizations by bootstrapping etc.

You can use this repo as inspiration how things can be done.

Main informations and script parameters are available here. Please do not forget to inspect this link!!!

Fedora

How to create image from docker-hub:

PowerShell.exe -ExecutionPolicy Bypass -File .\get-fedora-image.ps1 

Add -Force parameter to overwrite existing image if necessary.

Deployment of the fresh instance from the previously downloaded image:

PowerShell.exe -ExecutionPolicy Bypass -File .\deploy-fedora-image.ps1 -InstanceName Fedora-37 -UserName liuser

Deployment with resolv conf override and internal CA (ZScaler)

PowerShell.exe -ExecutionPolicy Bypass -File .\deploy-fedora-image.ps1 -InstanceName Fedora-37 -UserName liuser  -OverrideResolvConf -InstallCA

Static WSL network

Start:

make_wsl_net_static.bat

Details can be found in the main scripts repo Static WSL Subnet Script