1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-04 21:47:31 +03:00
Zbigniew Jędrzejewski-Szmek 05c6f341b1 Allow the fallback hostname to be overriden using an environment variable
See https://bugzilla.redhat.com/show_bug.cgi?id=1893417 for the back story:
the fallback hostname matters a lot in certain environments. Right now the only
way to configure the fallback hostname is by recompiling systemd, which is
obviously problematic in case when the fallback hostname shall differ between
different editions of the same distro that share a single compiled rpm.

By making this overridable through an envvar, we're providing an escape hatch
without making this a top-level api. Later on a way to set this through
os-release is added, but I think the approach with the variable is still
useful. It it very convenient for testing, or to override settings only in a
particular service, etc.
2021-02-22 20:10:55 +01:00
..
2020-01-26 13:29:55 +09:00
2019-12-11 17:04:20 +01:00
2019-12-11 17:04:20 +01:00
2019-12-11 17:04:20 +01:00
2019-12-11 17:04:20 +01:00
2019-12-11 17:04:20 +01:00
2018-10-12 13:48:34 +02:00
2019-12-11 17:04:20 +01:00
2019-12-11 17:04:20 +01:00
2019-12-11 17:04:20 +01:00
2020-01-15 13:46:16 +01:00