Description
If ifconfig or ip isn't on the computer/container, code-server will crash unless --disable-telemetry is set.
Steps to Reproduce
- Ensure
ifconfig and ip don't exist on the system
- Run
code-server without --disable-telemetry: it crashes
- Run
code-server --disable-telemetry: no crash
Possible solution
Disable telemetry with a warning if the command fails.
code-serverversion: v2Description
If
ifconfigoripisn't on the computer/container, code-server will crash unless--disable-telemetryis set.Steps to Reproduce
ifconfigandipdon't exist on the systemcode-serverwithout--disable-telemetry: it crashescode-server --disable-telemetry: no crashPossible solution
Disable telemetry with a warning if the command fails.