aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2014-08-21 22:07:14 +0100
committerBryn M. Reeves <bmr@redhat.com>2014-08-21 22:15:09 +0100
commitfbb671b5ef74445586fe40e196dc9918693b55e5 (patch)
tree436736351be17146f5957c11501013a4151e3727
parent7d8c7323befb1d8948cb822a484c9e8bdd93ee2c (diff)
downloadsos-fbb671b5ef74445586fe40e196dc9918693b55e5.tar.gz
[networking] fix 'nmcli con show' usage
Fixes #377. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/networking.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/networking.py b/sos/plugins/networking.py
index 2fd7292f..c7d70d1d 100644
--- a/sos/plugins/networking.py
+++ b/sos/plugins/networking.py
@@ -133,7 +133,7 @@ class Networking(Plugin):
"nmcli --terse --fields NAME con show")
if nmcli_con_show_result:
for con in nmcli_con_show_result['output'].splitlines():
- self.add_cmd_output("nmcli connection show "+con)
+ self.add_cmd_output("nmcli con show conf '%s'" % con)
nmcli_dev_status_result = self.call_ext_prog(
"nmcli --terse --fields DEVICE dev status")