dissect-tool: accept encryption password via $PASSWORD

This commit is contained in:
Lennart Poettering
2025-11-17 16:42:58 +01:00
parent d343a044a2
commit e30738c20c
2 changed files with 10 additions and 3 deletions

View File

@@ -578,8 +578,8 @@ disk images with `--image=` or similar:
environment variable to the build directory and you are set. This variable
is only supported when systemd is compiled in developer mode.
Various tools that read passwords from the TTY, such as `systemd-cryptenroll`
and `homectl`:
Various tools that read passwords from the TTY, such as `systemd-cryptenroll`,
`systemd-dissect` and `homectl`:
* `$PASSWORD` — takes a string: the literal password to use. If this
environment variable is set it is used as password instead of prompting the