New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Read network device names from Network Manager #18283
Conversation
bc472ef
to
7c7f688
Compare
Is there any other way instead of grep-ing text ouputs meant for user interface? Like some json output for example, to be more on the safe side (I am not a fan of using grep output as an API as might change, even if unlikely). |
I'm not aware of any json output option (but it can be a good proposal to add in upstream
we can also use |
Oh interesting, so they are aware that this is used in scripts and provide some sort of API-like text output :D Good enough I guess :) |
7c7f688
to
c36f613
Compare
deff529
to
2e743f3
Compare
2e743f3
to
18b29cb
Compare
Fix for openSUSE, makes the test independent from the network device naming scheme