Skip to content

Commit

Permalink
[virtwho] Collect virt-who -dop
Browse files Browse the repository at this point in the history
Adds collection of 'virt-who -dop'.

Signed-off-by: Jake Hunsaker <[email protected]>
  • Loading branch information
TurboTurtle committed Mar 15, 2019
1 parent bdbc96a commit bcab65a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sos/plugins/virtwho.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class VirtWho(Plugin, RedHatPlugin):

def setup(self):
self.add_copy_spec("/etc/virt-who.d/*")
self.add_cmd_output("virt-who -dop")

def postproc(self):
self.do_path_regex_sub(r"\/etc\/virt-who\.d",
Expand Down

0 comments on commit bcab65a

Please sign in to comment.