Skip to content
Commit c33e08c3 authored by anarcat's avatar anarcat Committed by k8s-ci-robot
Browse files

show FQDN first in /etc/hosts (closes: #3521) (#3522)

The hosts(5) manpage clearly states that the first entry is the
"canonical name", or FQDN (Fully-Qualified Domain Name):

    IP_address canonical_hostname [aliases...]

By using the alias as a first entry, `hostname -f` does not return the
correct domain which breaks all sorts of unrelated functionality (it
has impact over email server configuration, for example).
parent 9b773185
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment