aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenaud Métrich <rmetrich@redhat.com>2023-05-16 11:52:32 +0200
committerJake Hunsaker <jacob.r.hunsaker@gmail.com>2023-12-05 20:46:31 -0500
commit9ba0efd69e2544179d966d43204fc1df16c91592 (patch)
tree1d02b9c68eb180d65eac04fdbfc3a4b01cbe0956
parentd53bffed58ab94617026df763f623e7b4780e997 (diff)
downloadsos-9ba0efd69e2544179d966d43204fc1df16c91592.tar.gz
[zvm] Don't require 'vmcp' and 'cpint' kernel modules
These modules are not present anymore, at least on RHEL8. The modules are not needed to execute 'vmcp' commands. Signed-off-by: Renaud Métrich <rmetrich@redhat.com>
-rw-r--r--sos/report/plugins/zvm.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/sos/report/plugins/zvm.py b/sos/report/plugins/zvm.py
index f57ebe37..39b547eb 100644
--- a/sos/report/plugins/zvm.py
+++ b/sos/report/plugins/zvm.py
@@ -6,7 +6,7 @@
#
# See the LICENSE file in the source distribution for further information.
-from sos.report.plugins import Plugin, IndependentPlugin, SoSPredicate
+from sos.report.plugins import Plugin, IndependentPlugin
from sos.utilities import is_executable
@@ -18,9 +18,6 @@ class ZVM(Plugin, IndependentPlugin):
def setup(self):
- zvm_pred = SoSPredicate(self, kmods=['vmcp', 'cpint'])
- self.set_cmd_predicate(zvm_pred)
-
self.vm_cmd = None
for cmd in self.commands:
if is_executable(cmd):