aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Moravec <pmoravec@redhat.com>2019-12-11 22:17:33 +0100
committerPavel Moravec <pmoravec@redhat.com>2019-12-11 22:17:33 +0100
commit703c966cd1ee82a8a5a8f93de75847db60e23cc1 (patch)
tree572bc8b7d30217bd8a63b612bba3abd54d3c1c32
parent416313e48657428fb172ed649a411954b1a343fa (diff)
downloadsos-703c966cd1ee82a8a5a8f93de75847db60e23cc1.tar.gz
[dnf] Collect dnf module list
Adds collection of `dnf module list` to the plugin, to show a list of all modules available to the system, instead of just those that are currently installed. Related: RHBZ#1781819 Resolves: #1887 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com> Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
-rw-r--r--sos/plugins/dnf.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/plugins/dnf.py b/sos/plugins/dnf.py
index 754ca26a..1bc01a98 100644
--- a/sos/plugins/dnf.py
+++ b/sos/plugins/dnf.py
@@ -49,6 +49,7 @@ class DNFPlugin(Plugin, RedHatPlugin):
"dnf --version",
"dnf list installed *dnf*",
"dnf list extras",
+ "dnf module list",
"package-cleanup --dupes",
"package-cleanup --problems"
])