From 9ba0efd69e2544179d966d43204fc1df16c91592 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Renaud=20M=C3=A9trich?= Date: Tue, 16 May 2023 11:52:32 +0200 Subject: [PATCH] [zvm] Don't require 'vmcp' and 'cpint' kernel modules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- sos/report/plugins/zvm.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sos/report/plugins/zvm.py b/sos/report/plugins/zvm.py index f57ebe3768..39b547eb17 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):