aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2018-05-22 15:18:12 +0100
committerBryn M. Reeves <bmr@redhat.com>2018-05-22 15:18:12 +0100
commit4ba387ccb8a4033f87bcf0e133f097eac394d136 (patch)
tree6620b8abccb4f001bc4bc01acbc94cdd9b475895
parent1cf2434e54df1e0a2e8e41e95e3b8f9455f02dcd (diff)
downloadsos-4ba387ccb8a4033f87bcf0e133f097eac394d136.tar.gz
[buildah,clear_containers,lxd] add plugins to container profile
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/buildah.py1
-rw-r--r--sos/plugins/clear_containers.py2
-rw-r--r--sos/plugins/lxd.py1
3 files changed, 3 insertions, 1 deletions
diff --git a/sos/plugins/buildah.py b/sos/plugins/buildah.py
index 5918f682..77055b2e 100644
--- a/sos/plugins/buildah.py
+++ b/sos/plugins/buildah.py
@@ -23,6 +23,7 @@ class Buildah(Plugin, RedHatPlugin):
plugin_name = 'buildah'
packages = ('buildah',)
+ profiles = ('container',)
def setup(self):
self.add_cmd_output([
diff --git a/sos/plugins/clear_containers.py b/sos/plugins/clear_containers.py
index 78bd7450..8dd236a6 100644
--- a/sos/plugins/clear_containers.py
+++ b/sos/plugins/clear_containers.py
@@ -24,7 +24,7 @@ class ClearContainers(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin,
"""
plugin_name = 'clear_containers'
- profiles = ('system', 'virt')
+ profiles = ('system', 'virt', 'container')
runtime = 'cc-runtime'
packages = (runtime,)
diff --git a/sos/plugins/lxd.py b/sos/plugins/lxd.py
index 8044aba8..e5b51aca 100644
--- a/sos/plugins/lxd.py
+++ b/sos/plugins/lxd.py
@@ -21,6 +21,7 @@ class LXD(Plugin, UbuntuPlugin):
"""LXD is a containers hypervisor.
"""
plugin_name = 'lxd'
+ profiles = ('container',)
def setup(self):
self.add_copy_spec([