diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2014-02-04 15:43:56 +0000 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2014-02-04 15:43:56 +0000 |
commit | f57c793a07e86c1659b2f5c6b49b93f5007c139c (patch) | |
tree | 85312a49a37590d68ab56870b4c67c413629d8f5 | |
parent | cfef4d7ee758bffe6242c0d342261300a0e8194c (diff) | |
download | sos-f57c793a07e86c1659b2f5c6b49b93f5007c139c.tar.gz |
Pass --no-archive to rhsm-debug script
Versions of subscription-manager since 1.10.11-2.el7 support the
--no-archive option to disable creation of a zip archive. Pass
this to the script to have the output stored in a directory in
the archive.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/yum.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/yum.py b/sos/plugins/yum.py index a9ae4e4f..81788f17 100644 --- a/sos/plugins/yum.py +++ b/sos/plugins/yum.py @@ -48,7 +48,7 @@ class Yum(Plugin, RedHatPlugin): "/var/log/rhsm/rhsmcertd.log"]) self.add_cmd_output("subscription-manager list --installed") self.add_cmd_output("subscription-manager list --consumed") - self.add_cmd_output("rhsm-debug system --destination %s" + self.add_cmd_output("rhsm-debug system --no-archive --destination %s" % self.get_cmd_dir()) if self.get_option("yumlist"): |