From d6986773d0a654ab03497818eb54e12b70181a2b Mon Sep 17 00:00:00 2001 From: Jake Hunsaker Date: Thu, 17 Jan 2019 18:02:14 -0500 Subject: [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 Signed-off-by: Bryn M. Reeves --- sos/plugins/tftpserver.py | 6 ++++-- 1 file 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 : -- cgit