bash <(curl -L https://raw.githubusercontent.com/dixonwille/dotfiles/main/install.sh)
Can supply:
--machine|-m
for the machine to configure--user|-u
for the user to create if executing from root user
tar -xf Fedora-Container-Base-<VERSION>.<ARCH>.tar.xz
Use the layer file to create the base wsl2 image.
wsl --import Fedora $HOME\wsl\Fedora $LOCATION_TO_LAYER\layer.tar
Add this to .wslconfig
file.
[wsl2]
kernelCommandLine = sysctl.net.ipv4.ping_group_range=\"0 2147483647\"
If in WSL2, you will need to add the following example to %USERPROFILE%\.ssh\config
Host ssh.dev.azure.com
IdentityFile ~/.ssh/devops.pub
IdentitiesOnly yes
You will need to download the public key to the specified path
To allow WSL2 to access a VPN connected in Windows add this to .wslconfig
file.
[wsl2]
dnsTunneling = true