aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2022-06-10 12:30:19 -0400
committerJake Hunsaker <jhunsake@redhat.com>2022-06-14 13:10:15 -0400
commitb32647fb781a56b12b51fe92786baea3eec320d8 (patch)
tree8dc70ce5eb7175fdf50c12e0a49db75fd09d996e
parent1dc3625fabea7331570f713fd1c87ac812d72d92 (diff)
downloadsos-b32647fb781a56b12b51fe92786baea3eec320d8.tar.gz
[ostree] Add services enablement trigger
Adds two services to the `services` tuple for this plugin to both serve as an enablement trigger, and to capture the status and journals of these services automatically. This is an update/replacement to #2919 originally proposed by Colin Walters. Closes: #2919 Co-authored-by: Colin Walters <walters@verbum.org> Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r--sos/report/plugins/ostree.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/report/plugins/ostree.py b/sos/report/plugins/ostree.py
index cae4a796..5d11d888 100644
--- a/sos/report/plugins/ostree.py
+++ b/sos/report/plugins/ostree.py
@@ -16,6 +16,7 @@ class OSTree(Plugin, IndependentPlugin):
plugin_name = 'ostree'
profiles = ('system', 'sysmgmt', 'packagemanager')
files = ('/ostree',)
+ services = ('ostree-finalize-staged', 'ostree-boot-complete')
def setup(self):
self.add_copy_spec("/ostree/repo/config")