diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-19 15:08:07 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-22 20:10:55 +0100 |
commit | addddf565b982ba35cf2be290fb1a5e036f2567f (patch) | |
tree | b956d55affe364f519a7efbcadab7689807bc084 /src/sysext/sysext.c | |
parent | man: use ~/.config instead of XDG_CONFIG_HOME (diff) | |
download | systemd-addddf565b982ba35cf2be290fb1a5e036f2567f.tar.xz systemd-addddf565b982ba35cf2be290fb1a5e036f2567f.zip |
os-release: add the DEFAULT_HOSTNAME= setting
The motivation is that variants of the same distro that share the same compiled
rpm want to customize various aspects of the system, in particular the
hostname. In some sense the default hostname is part of the identity of the
system, so setting it through os-release makes sense. In particular, instead of
setting a default value in /etc/hostname, the appropriate default can be baked
into the image, leaving /etc/hostname for local overrides only.
Why make this a separate field instead of e.g. using NAME from os-release?
NAME is already used for other purposes, and it seems likely that people want
to set those independently.
Diffstat (limited to 'src/sysext/sysext.c')
0 files changed, 0 insertions, 0 deletions