netbrain / zwift

Easily zwift on linux
The Unlicense
238 stars 27 forks source link

Feature Request: Adding --net=host to allow for Ethernet/wifi trainers #101

Closed nibbles-bytes closed 4 months ago

nibbles-bytes commented 4 months ago

Hello,

I have edited the zwift.sh on my setup to use the host network. This allows you to use a network connected trainer directly without the need for the Zwift Companion app. I was wondering if anyone had ideas on an elegant solution to have it as an option? I'm assuming everyone wouldn't want to run the container on host. But maybe it can be set with a variable? Happy to put in a PR, just wasn't sure what solution direction to go with.

netbrain commented 4 months ago

NETWORKING=host zwift.sh should do the trick?

See the project README

nibbles-bytes commented 4 months ago

Ha yes it should, I'll give that a go. Guess I glossed over that before...thanks!