diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-19 17:48:20 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-22 20:10:55 +0100 |
commit | e7637751c4d3dbdaf9e5e13801d912389c8b7f4d (patch) | |
tree | dbebbf9607feaa983f36744871c5ccffadfcdc31 /src/hostname/hostnamed.c | |
parent | 05c6f341b1fc18f59293d115bb4cbee94f8bf3a1 (diff) | |
download | systemd-e7637751c4d3dbdaf9e5e13801d912389c8b7f4d.tar.gz |
Use the DEFAULT_HOSTNAME field from os-release
This provides a fairly comprehensible fix for
https://bugzilla.redhat.com/show_bug.cgi?id=1893417.
This adds yet-another level of configuration:
- /etc/hostname
- transient hostname
- $SYSTEMD_DEFAULT_HOSTNAME
- DEFAULT_HOSTNAME is os-release
- -Dfallback-hostname=
- "linux"
It's a lot of layers, but each has it's own justification.
Diffstat (limited to 'src/hostname/hostnamed.c')
0 files changed, 0 insertions, 0 deletions