aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/libvirt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/libvirt.py b/sos/plugins/libvirt.py
index aaf862bc..295c8ebc 100644
--- a/sos/plugins/libvirt.py
+++ b/sos/plugins/libvirt.py
@@ -56,7 +56,7 @@ class Libvirt(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
else:
self.add_copy_spec("/var/log/libvirt")
- if os.path.exists(libvirt_keytab):
+ if os.path.exists(self.join_sysroot(libvirt_keytab)):
self.add_cmd_output("klist -ket %s" % libvirt_keytab)
self.add_cmd_output("ls -lR /var/lib/libvirt/qemu")