diff options
author | Pavel Moravec <pmoravec@redhat.com> | 2021-07-26 13:30:09 +0200 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2021-07-26 10:20:20 -0400 |
commit | ee5d9d017b0a1bfeaebee9c21c17e89ef1f909a8 (patch) | |
tree | 3cc61ceda028cebdbcdf1ba6db3f6789cab3360b | |
parent | eaac4ae4d92094a4242b3ea5357278296eaaf41a (diff) | |
download | sos-ee5d9d017b0a1bfeaebee9c21c17e89ef1f909a8.tar.gz |
[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 <pmoravec@redhat.com>
-rw-r--r-- | sos/report/plugins/migration_results.py | 21 |
1 files changed, 21 insertions, 0 deletions
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 |