diff options
-rw-r--r-- | sos/report/plugins/virsh.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sos/report/plugins/virsh.py b/sos/report/plugins/virsh.py index f5e9aa9d..b3b72589 100644 --- a/sos/report/plugins/virsh.py +++ b/sos/report/plugins/virsh.py @@ -50,7 +50,8 @@ class LibvirtClient(Plugin, IndependentPlugin): # get network, pool and nwfilter elements for k in ['net', 'nwfilter', 'pool']: - k_list = self.collect_cmd_output('%s %s-list' % (cmd, k), + k_list = self.collect_cmd_output('%s %s-list %s' % (cmd, k, '--all' + if k in ['net', 'pool'] else ''), foreground=True) if k_list['status'] == 0: k_lines = k_list['output'].splitlines() |