diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2023-05-02 09:15:48 +0200 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2023-05-03 09:45:08 -0400 |
commit | bbbddf106afd4b91cbe18b51a7b9c20bf1f565f1 (patch) | |
tree | c747c7edfc5b5e20471297c382cf7ac3dbb85c56 | |
parent | a3c9f871bcab09897dd9188faca97d4fff7f62e7 (diff) | |
download | sos-bbbddf106afd4b91cbe18b51a7b9c20bf1f565f1.tar.gz |
[networkmanager] collect all fields of connections
By default "nmcli con" only shows few fields of connections; many
others are skipped and some of them are quite important like the
filename, the autoconnect flag, and the last activation timestamp.
Add the full dump of connection fields. Since the output can be harder
to quickly parse, also leave the plain "nmcli con" output.
Signed-off-by: Beniamino Galvani <bgalvani@redhat.com>
-rw-r--r-- | sos/report/plugins/networkmanager.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/report/plugins/networkmanager.py b/sos/report/plugins/networkmanager.py index ed16768d..6446f4f3 100644 --- a/sos/report/plugins/networkmanager.py +++ b/sos/report/plugins/networkmanager.py @@ -53,6 +53,7 @@ class NetworkManager(Plugin, RedHatPlugin, UbuntuPlugin): self.add_cmd_output([ "nmcli general status", "nmcli con", + "nmcli -f all con", "nmcli con show --active", "nmcli dev"]) nmcli_con_details_cmd = nmcli_con_details_template % "show" |