diff options
-rw-r--r-- | sos/plugins/lvm2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/lvm2.py b/sos/plugins/lvm2.py index dd10fa75..c6262315 100644 --- a/sos/plugins/lvm2.py +++ b/sos/plugins/lvm2.py @@ -37,7 +37,7 @@ class Lvm2(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): lvmdump_opts = "-a -m" cmd = lvmdump_cmd % (lvmdump_opts, self.get_cmd_output_path(name="lvmdump")) - self.add_cmd_output(cmd) + self.add_cmd_output(cmd, chroot=self.tmp_in_sysroot()) def setup(self): # use locking_type 0 (no locks) when running LVM2 commands, |