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