fix(quake): skip latency emulation on WSL2 - #279
Conversation
|
The approach here is sound, and one detail worth stating explicitly for reviewers: the generated script runs inside the containers, and on Docker Desktop / WSL2 backends the container shares the WSL2 utility VM's kernel — so Three observations from reviewing the diff (including the latest commit bfc0bfa):
None of these block the fix — it unblocks localdev on WSL2 exactly as #31 asks. |
|
Re-checked the branch at head
The capability-probe/override idea from my earlier comment remains optional future-proofing (custom WSL2 kernels with |
Fixes #31
Quake-generated latency setup scripts currently fail on WSL2 because the required tc qdisc kernel modules are unavailable. Detect WSL2 via /proc/sys/kernel/osrelease and skip latency emulation there so localdev can continue starting without manual script edits.
Normal Linux environments keep the existing tc/netem behavior unchanged.