diff options
-rw-r--r-- | sos/plugins/foreman.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sos/plugins/foreman.py b/sos/plugins/foreman.py index 9d1cbada..363b9d6a 100644 --- a/sos/plugins/foreman.py +++ b/sos/plugins/foreman.py @@ -27,7 +27,9 @@ class Foreman(Plugin, RedHatPlugin): def setup(self): cmd = "foreman-debug" + path = self.get_cmd_output_path(name="foreman-debug") - self.add_cmd_output("%s -g -q -a -d %s" % (cmd, path)) + self.add_cmd_output("%s -g -q -a -d %s" % (cmd, path), + chroot=self.tmp_in_sysroot()) # vim: set et ts=4 sw=4 : |