dantmnf / WSLAttachSwitch

Attach the WSL2 virtual machine to a Hyper-V virtual switch.
The Unlicense
120 stars 12 forks source link

Mention that the virtual switch has to exist before running WSLAttachSwitch #8

Closed fberlakovich closed 1 year ago

fberlakovich commented 1 year ago

Might be obvious to most people, but wasn't obvious to me. For some reason I thought WSLAttachSwitch creates the virtual switch, until I read the code. Maybe mention that one has to create a virtual switch, e.g., "New Virtual Switch" first, following https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/get-started/create-a-virtual-switch-for-hyper-v-virtual-machines?tabs=hyper-v-manager.