diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2021-01-13 17:03:08 -0500 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2021-01-19 11:44:55 -0500 |
commit | 0c93334379b23149fef7780f807b9b996c8fc73f (patch) | |
tree | b718d256b86ca1e45ca415c2198afc466a60509e | |
parent | 9b459d58e7c5a1388ef53e4aab195d59a8f751e3 (diff) | |
download | sos-0c93334379b23149fef7780f807b9b996c8fc73f.tar.gz |
[tigervnc] Add new plugin
Adds a new plugin for the TigerVNC plugin
Closes: #2347
Resolves: #2371
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r-- | sos/report/plugins/tigervnc.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sos/report/plugins/tigervnc.py b/sos/report/plugins/tigervnc.py new file mode 100644 index 00000000..d24d5708 --- /dev/null +++ b/sos/report/plugins/tigervnc.py @@ -0,0 +1,28 @@ +# Copyright (C) 2021 Red Hat, Inc., Jake Hunsaker <jhunsake@redhat.com> + +# This file is part of the sos project: https://github.com/sosreport/sos +# +# This copyrighted material is made available to anyone wishing to use, +# modify, copy, or redistribute it subject to the terms and conditions of +# version 2 of the GNU General Public License. +# +# See the LICENSE file in the source distribution for further information. + +from sos.report.plugins import Plugin, RedHatPlugin + + +class TigerVNC(Plugin, RedHatPlugin): + + plugin_name = 'tigervnc' + packages = ('tigervnc-server',) + + def setup(self): + self.add_copy_spec([ + '/etc/tigervnc/vncserver-config-defaults', + '/etc/tigervnc/vncserver-config-mandatory', + '/etc/tigervnc/vncserver.users' + ]) + + self.add_cmd_output('vncserver -list') + +# vim: set et ts=4 sw=4 : |