aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2023-05-02 09:15:48 +0200
committerJake Hunsaker <jhunsake@redhat.com>2023-05-03 09:45:08 -0400
commitbbbddf106afd4b91cbe18b51a7b9c20bf1f565f1 (patch)
treec747c7edfc5b5e20471297c382cf7ac3dbb85c56
parenta3c9f871bcab09897dd9188faca97d4fff7f62e7 (diff)
downloadsos-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.py1
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"