Skip to content

Commit

Permalink
[zvm] Don't require 'vmcp' and 'cpint' kernel modules
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
rmetrich authored and TurboTurtle committed Dec 6, 2023
1 parent d53bffe commit 9ba0efd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions sos/report/plugins/zvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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):
Expand Down

0 comments on commit 9ba0efd

Please sign in to comment.