hostnamed: rename FallbackHostname to DefaultHostname
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 20 Feb 2021 17:54:24 +0000 (18:54 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 22 Feb 2021 19:10:55 +0000 (20:10 +0100)
commit8770c8135bb2ddd7926a227c41d25cba805eee3b
tree6f7fc7a37f66511438c0bf404d85715d85923914
parente7637751c4d3dbdaf9e5e13801d912389c8b7f4d
hostnamed: rename FallbackHostname to DefaultHostname

This follows the addition of DEFAULT_HOSTNAME= in os-release.
The distinction between the value from os-release or the env var and
the compile-time setting is not made in the api: HostnameSource is
"default" is all cases. I think that this level of detail is not needed,
because the users of this mostly care whether the hostname was set by
user configuration or not.
NEWS
man/org.freedesktop.hostname1.xml
src/hostname/hostnamed.c
src/shared/hostname-setup.c
src/shared/hostname-setup.h