aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/general.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/sos/plugins/general.py b/sos/plugins/general.py
index a7a341c3..6fae0367 100644
--- a/sos/plugins/general.py
+++ b/sos/plugins/general.py
@@ -32,7 +32,12 @@ class General(Plugin):
"/etc/os-release"
])
- self.add_cmd_output("hostname", root_symlink="hostname")
+ self.add_cmd_output(
+ "hostname -f",
+ root_symlink="hostname",
+ suggest_filename="hostname"
+ )
+
self.add_cmd_output("date", root_symlink="date")
self.add_cmd_output("uptime", root_symlink="uptime")