diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2019-01-17 18:02:14 -0500 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2019-03-21 16:23:37 +0000 |
commit | d6986773d0a654ab03497818eb54e12b70181a2b (patch) | |
tree | 2ed26a9cea47579efc5e877554c3d67045aca965 | |
parent | 43d834bc9a57ec232bfb824defd5c5d4e9591096 (diff) | |
download | sos-d6986773d0a654ab03497818eb54e12b70181a2b.tar.gz |
[tftpserver] Add Debian and Ubuntu support
Adds support for this plugin to run on Debian and Ubuntu systems as part
of the effort to port foreman-debug to sos plugins.
Related: #1525
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/tftpserver.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sos/plugins/tftpserver.py b/sos/plugins/tftpserver.py index 87f2901d..04287612 100644 --- a/sos/plugins/tftpserver.py +++ b/sos/plugins/tftpserver.py @@ -8,10 +8,10 @@ # # See the LICENSE file in the source distribution for further information. -from sos.plugins import Plugin, RedHatPlugin +from sos.plugins import Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin -class TftpServer(Plugin, RedHatPlugin): +class TftpServer(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): """TFTP server """ @@ -23,5 +23,7 @@ class TftpServer(Plugin, RedHatPlugin): def setup(self): self.add_cmd_output("ls -lanR /tftpboot") + self.add_cmd_output('ls -lanR /srv/tftp') + # vim: set et ts=4 sw=4 : |