Skip to content

Commit 0a7f3ca

Browse files
committed
[lightspeed] Add new plugin for RH Lightspeed
This commit creates the plugin for RHEL Lightspeed Command Line Assistant. Related: RSPEED-549, RHEL-102037, RHEL-122242 Signed-off-by: Jose Castillo <[email protected]>
1 parent 155ffb0 commit 0a7f3ca

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

sos/report/plugins/lightspeed.py

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Copyright (C) 2025 Red Hat, Inc., Jose Castillo <[email protected]>
2+
3+
# This file is part of the sos project: https://github.com/sosreport/sos
4+
#
5+
# This copyrighted material is made available to anyone wishing to use,
6+
# modify, copy, or redistribute it subject to the terms and conditions of
7+
# version 2 of the GNU General Public License.
8+
#
9+
# See the LICENSE file in the source distribution for further information.
10+
11+
from sos.report.plugins import Plugin, RedHatPlugin
12+
13+
14+
class Lightspeed(Plugin, RedHatPlugin):
15+
16+
short_desc = 'Lightspeed Command Line Assistant'
17+
18+
plugin_name = 'lightspeed'
19+
profiles = ('ai',)
20+
services = ('clad',)
21+
22+
def setup(self):
23+
self.add_copy_spec([
24+
"/etc/xdg/command-line-assistant/config.toml",
25+
"/var/lib/command-line-assistant/history.db",
26+
"/etc/systemd/system/clad.service.d/"
27+
])
28+
29+
# vim: set et ts=4 sw=4 :

0 commit comments

Comments
 (0)