aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/cluster.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/sos/plugins/cluster.py b/sos/plugins/cluster.py
index ea5dbae7..f52f1544 100644
--- a/sos/plugins/cluster.py
+++ b/sos/plugins/cluster.py
@@ -120,8 +120,9 @@ class Cluster(Plugin, RedHatPlugin):
self._log_warn("scrubbing of crm passwords has been disabled:")
self._log_warn("data collected by crm_report may contain"
" sensitive values.")
- self.add_cmd_output('crm_report %s -S -d --dest %s --from "%s"'
- % (crm_scrub, crm_dest, crm_from))
+ self.add_cmd_output('crm_report %s -S -d --dest %s --from "%s"' %
+ (crm_scrub, crm_dest, crm_from),
+ chroot=self.tmp_in_sysroot())
def do_lockdump(self):
if self._mount_debug():