netbrain / zwift

Easily zwift on linux
The Unlicense
291 stars 32 forks source link

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

Closed nibbles-bytes closed 7 months ago

nibbles-bytes commented 7 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 7 months ago

NETWORKING=host zwift.sh should do the trick?

See the project README

nibbles-bytes commented 7 months ago

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