aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/general.py12
1 files changed, 3 insertions, 9 deletions
diff --git a/sos/plugins/general.py b/sos/plugins/general.py
index f8e228fa..14fa54d6 100644
--- a/sos/plugins/general.py
+++ b/sos/plugins/general.py
@@ -33,12 +33,14 @@ class General(Plugin):
"/etc/hostid",
"/var/lib/dbus/machine-id",
"/etc/exports",
- "/etc/localtime"
+ "/etc/localtime",
+ "/etc/os-release"
])
self.add_cmd_output("hostname", root_symlink="hostname")
self.add_cmd_output("date", root_symlink="date")
self.add_cmd_output("uptime", root_symlink="uptime")
+
self.add_cmd_outputs([
"tree /var/lib",
"ls -lR /var/lib"
@@ -73,12 +75,4 @@ class DebianGeneral(General, DebianPlugin):
"/etc/debian_version"
])
-
-class UbuntuGeneral(DebianGeneral):
- """Basic system information for Ubuntu based distributions"""
-
- def setup(self):
- super(UbuntuGeneral, self).setup()
- self.add_copy_spec("/etc/os-release")
-
# vim: et ts=4 sw=4