Commit ba8cca5b authored by Samir Noir's avatar Samir Noir 🧀
Browse files

Use hostname -f option to always get the machine's FQDN

parent de48e465
......@@ -27,7 +27,7 @@ module ConfigurationHelper
if Rails.env == "test"
"rennes"
else
ENV['WHOAMI'] || `hostname`.split(".")[1]
ENV['WHOAMI'] || `hostname -f`.split(".")[1]
end
end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment