diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-23 00:41:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-23 00:41:27 +0100 |
commit | a5e5e102baf54f113d22a2be5862d8e42f362ddb (patch) | |
tree | 9fbffb7aacc3da84589d0d4ce9dd217abbab5fa4 /docs | |
parent | dda7d0a4d69bc1a13fe26dc5124ccafa615364ac (diff) | |
parent | 8770c8135bb2ddd7926a227c41d25cba805eee3b (diff) | |
download | systemd-a5e5e102baf54f113d22a2be5862d8e42f362ddb.tar.gz |
Merge pull request #18704 from keszybz/fallback-hostame-override
Allow overriding of fallback hostname through envvar and os-release field
Diffstat (limited to 'docs')
-rw-r--r-- | docs/ENVIRONMENT.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ENVIRONMENT.md b/docs/ENVIRONMENT.md index 7eec455934..a3916f8cde 100644 --- a/docs/ENVIRONMENT.md +++ b/docs/ENVIRONMENT.md @@ -56,6 +56,10 @@ All tools: * `$SYSTEMD_EFI_OPTIONS` — if set, used instead of the string in the `SystemdOptions` EFI variable. Analogous to `$SYSTEMD_PROC_CMDLINE`. +* `$SYSTEMD_DEFAULT_HOSTNAME` — override the compiled-in fallback hostname + (relevant in particular for the system manager and `systemd-hostnamed`). + Must be a valid hostname (either a single label or a FQDN). + * `$SYSTEMD_IN_INITRD=[auto|lenient|0|1]` — if set, specifies initrd detection method. Defaults to `auto`. Behavior is defined as follows: `auto`: Checks if `/etc/initrd-release` exists, and a temporary fs is mounted |