From ee5d9d017b0a1bfeaebee9c21c17e89ef1f909a8 Mon Sep 17 00:00:00 2001 From: Pavel Moravec Date: Mon, 26 Jul 2021 13:30:09 +0200 Subject: [MigrationResults] collect info about conversions and upgrades A new tiny plugin independent on leapp and convert2rhel is proposed. It should collect /etc/migration-results with info about RHEL conversions and upgrades, whenever the file is present. Resolves: #2627 Relevant to: rhbz#1959598 Signed-off-by: Pavel Moravec --- sos/report/plugins/migration_results.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 sos/report/plugins/migration_results.py diff --git a/sos/report/plugins/migration_results.py b/sos/report/plugins/migration_results.py new file mode 100644 index 00000000..b67480ba --- /dev/null +++ b/sos/report/plugins/migration_results.py @@ -0,0 +1,21 @@ +# This file is part of the sos project: https://github.com/sosreport/sos +# +# This copyrighted material is made available to anyone wishing to use, +# modify, copy, or redistribute it subject to the terms and conditions of +# version 2 of the GNU General Public License. +# +# See the LICENSE file in the source distribution for further information. + +from sos.report.plugins import Plugin, RedHatPlugin + + +class MigrationResults(Plugin, RedHatPlugin): + + short_desc = 'Information about conversions and upgrades' + + plugin_name = 'migration_results' + profiles = ('system',) + + files = ('/etc/migration-results',) + +# vim: et ts=4 sw=4 -- cgit