On Fri, 2017-06-02 at 13:26 -0500, Greg Oliver wrote:
Hi Greg,
> Thanks for the info - I investigated nmcli prior to sending the
> email, and must have missed that subcommand. I'll definitely go that
> route since it will know better than I how to act.
I was probably not clear. Such a nmcli command doesn't exist yet.
Sure would be useful. One day... :)
The next step to do would be to cleanup the internal keyfile API in
libnm-core[1] and expose as public API in libnm. Then use it from nmcli
to dump/read connections in keyfile format.
[1] https://cgit.freedesktop.org/NetworkManager/NetworkManager/ tree/libnm-core/nm-keyfile- internal.h?id= 238efbbb12d32b4d4b7827509b4f21 af9d159617
Not really a lot of work. Mid-size.
best,
Thomas