aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2015-03-04 18:20:18 +0000
committerBryn M. Reeves <bmr@redhat.com>2015-03-04 18:20:18 +0000
commit4bf2fe4724f71c8b8827afbc2e0771500aaf93ad (patch)
tree18097bc0e3cf44b84704b625b48a7a9d40e98913
parent292599ac323f66c5086d8fc187815aac1e6a1204 (diff)
downloadsos-4bf2fe4724f71c8b8827afbc2e0771500aaf93ad.tar.gz
[libvirt] add 'virsh capabilities' output
Capture the host capabilities XML dump from libvirt. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/libvirt.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sos/plugins/libvirt.py b/sos/plugins/libvirt.py
index 9ff8a561..d693728e 100644
--- a/sos/plugins/libvirt.py
+++ b/sos/plugins/libvirt.py
@@ -31,6 +31,8 @@ class Libvirt(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
self.add_forbidden_path("/etc/libvirt/passwd.db")
self.add_forbidden_path("/etc/libvirt/krb5.tab")
+ self.add_cmd_output("virsh capabilities")
+
self.add_copy_spec([
"/etc/libvirt/libvirt.conf",
"/etc/libvirt/libvirtd.conf",