scottmuc / infrastructure

Documentation / Automation for personal third-party infrastructure
The Unlicense
11 stars 2 forks source link

Rebuild WSL - post Windows repave initialisation #39

Closed scottmuc closed 2 years ago

scottmuc commented 2 years ago

Yay for Repaving!

As much as possible is documented inline in this issue template. In case of problems you may find help by viewing all the previous repave issues. Have fun!

Steps

scottmuc commented 2 years ago

This is an initial setup and not a repave. First step is to download the latest Ubuntu LTS. I think I can automate this eventually.

It appears Terminal app isn't being installed: https://github.com/scottmuc/infrastructure/blob/main/homedirs/windows/boxstarter.ps1#L81

Before I could run

wsl --set-default-version 2 I needed to turn on the Windows Feature Virtual Machine Platform.

scottmuc commented 2 years ago

Updating DNS and running ansible against the PI worked without adjustments.

scottmuc commented 2 years ago

No proposals for the template this time around.

scottmuc commented 2 years ago

TIL I need to follow this to get docker to work with Ubuntu 22

https://patrickwu.space/2021/03/09/wsl-solution-to-native-docker-daemon-not-starting/