diff options
-rw-r--r-- | sos/policies/__init__.py | 18 | ||||
-rw-r--r-- | sos/policies/redhat.py | 20 |
2 files changed, 27 insertions, 11 deletions
diff --git a/sos/policies/__init__.py b/sos/policies/__init__.py index 050a096a..b1fccb10 100644 --- a/sos/policies/__init__.py +++ b/sos/policies/__init__.py @@ -118,21 +118,17 @@ class PackageManager(object): class Policy(object): msg = _("""\ -This command will collect diagnostic and configuration \ -information from this %(distro)s system and installed \ -applications. +This command will collect system configuration and diagnostic information \ +from this %(distro)s system. An archive containing the collected information \ +will be generated in %(tmpdir)s. -An archive containing the collected information will be \ -generated in %(tmpdir)s and may be provided to a %(vendor)s \ -support representative. +For more information on %(vendor)s visit: -Any information provided to %(vendor)s will be treated in \ -accordance with the published support policies at:\n %(vendor_url)s -The generated archive may contain data considered sensitive \ -and its content should be reviewed by the originating \ -organization before being passed to any third party. +The generated archive may contain data considered sensitive and its content \ +should be reviewed by the originating organization before being passed to \ +any third party. No changes will be made to system configuration. %(vendor_text)s diff --git a/sos/policies/redhat.py b/sos/policies/redhat.py index 2eade3ad..6959e205 100644 --- a/sos/policies/redhat.py +++ b/sos/policies/redhat.py @@ -95,6 +95,26 @@ class RHELPolicy(RedHatPolicy): distro = "Red Hat Enterprise Linux" vendor = "Red Hat" vendor_url = "https://access.redhat.com/support/" + msg = _("""\ +This command will collect diagnostic and configuration \ +information from this %(distro)s system and installed \ +applications. + +An archive containing the collected information will be \ +generated in %(tmpdir)s and may be provided to a %(vendor)s \ +support representative. + +Any information provided to %(vendor)s will be treated in \ +accordance with the published support policies at:\n + %(vendor_url)s + +The generated archive may contain data considered sensitive \ +and its content should be reviewed by the originating \ +organization before being passed to any third party. + +No changes will be made to system configuration. +%(vendor_text)s +""") def __init__(self): super(RHELPolicy, self).__init__() |