diff -uNrp sos-3.8.orig/sos/policies/redhat.py sos-3.8/sos/policies/redhat.py --- sos-3.8.orig/sos/policies/redhat.py 2019-08-27 03:17:45.000000000 -0500 +++ sos-3.8/sos/policies/redhat.py 2020-04-25 20:55:00.586172166 -0500 @@ -23,9 +23,9 @@ OS_RELEASE = "/etc/os-release" class RedHatPolicy(LinuxPolicy): - distro = "Red Hat" - vendor = "Red Hat" - vendor_url = "http://www.redhat.com/" + distro = "CentOS Linux" + vendor = "CentOS" + vendor_url = "http://www.centos.org" _redhat_release = '/etc/redhat-release' _tmp_dir = "/var/tmp" _rpmq_cmd = 'rpm -qa --queryformat "%{NAME}|%{VERSION}|%{RELEASE}\\n"' @@ -180,22 +180,22 @@ _cb_plugs = ['abrt', 'block', 'boot', 'd 'hardware', 'host', 'kernel', 'logs', 'lvm2', 'memory', 'rpm', 'process', 'systemd', 'yum', 'xfs'] -RHEL_RELEASE_STR = "Red Hat Enterprise Linux" +RHEL_RELEASE_STR = "CentOS Linux" RHV = "rhv" -RHV_DESC = "Red Hat Virtualization" +RHV_DESC = "CentOS Linux Virtualization" RHEL = "rhel" RHEL_DESC = RHEL_RELEASE_STR RHOSP = "rhosp" -RHOSP_DESC = "Red Hat OpenStack Platform" +RHOSP_DESC = "RDO" RHOCP = "ocp" -RHOCP_DESC = "OpenShift Container Platform by Red Hat" +RHOCP_DESC = "OpenShift" RH_SATELLITE = "satellite" -RH_SATELLITE_DESC = "Red Hat Satellite" +RH_SATELLITE_DESC = "Satellite" SAT_OPTS = SoSOptions(verify=True, plugopts=['apache.log=on']) CB = "cantboot" @@ -236,8 +236,8 @@ No changes will be made to system config class RHELPolicy(RedHatPolicy): distro = RHEL_RELEASE_STR - vendor = "Red Hat" - vendor_url = "https://access.redhat.com/support/" + vendor = "CentOS Linux" + vendor_url = "https://wiki.centos.org/" msg = _("""\ This command will collect diagnostic and configuration \ information from this %(distro)s system and installed \ @@ -313,7 +313,7 @@ class CentOsPolicy(RHELPolicy): ATOMIC = "atomic" ATOMIC_RELEASE_STR = "Atomic" -ATOMIC_DESC = "Red Hat Enterprise Linux Atomic Host" +ATOMIC_DESC = "CentOS Linux Atomic Host" atomic_presets = { ATOMIC: PresetDefaults(name=ATOMIC, desc=ATOMIC_DESC, note=NOTE_TIME, @@ -322,7 +322,7 @@ atomic_presets = { class RedHatAtomicPolicy(RHELPolicy): - distro = "Red Hat Atomic Host" + distro = "CentOS Linux Atomic Host" msg = _("""\ This command will collect diagnostic and configuration \ information from this %(distro)s system.