aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2018-08-29 06:46:48 -0400
committerBryn M. Reeves <bmr@redhat.com>2018-09-03 17:06:30 +0100
commit6518acd089a993171f3c3f426e7cf596838f5723 (patch)
tree7363f33b9854b2a99c7ed7d5c90bf8a65de3ed85
parent9143de40bdfeae840f27b362b410ca15f41d7a85 (diff)
downloadsos-6518acd089a993171f3c3f426e7cf596838f5723.tar.gz
[buildah] collect information about container configuration
These configuration files can effect the way that buildah works. Resolves: #1405 Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/buildah.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/sos/plugins/buildah.py b/sos/plugins/buildah.py
index 711450dc..61a7417b 100644
--- a/sos/plugins/buildah.py
+++ b/sos/plugins/buildah.py
@@ -20,6 +20,13 @@ class Buildah(Plugin, RedHatPlugin):
profiles = ('container',)
def setup(self):
+ self.add_copy_spec([
+ "/etc/containers/registries.conf",
+ "/etc/containers/storage.conf",
+ "/etc/containers/mounts.conf",
+ "/etc/containers/policy.json",
+ ])
+
self.add_cmd_output([
'buildah containers',
'buildah images',