diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-03-11 11:47:57 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-03-26 12:21:18 +0100 |
commit | 416f7b3a11e00d1a43da950fb4a00bc6c2707013 (patch) | |
tree | 0dd0d39b17eeb1857f6ad4a0c1bf94fabad0fa90 /units/systemd-firstboot.service | |
parent | firstboot: slightly reorder variable declaration (diff) | |
download | systemd-416f7b3a11e00d1a43da950fb4a00bc6c2707013.tar.xz systemd-416f7b3a11e00d1a43da950fb4a00bc6c2707013.zip |
firstboot: allow provisioning of firstboot params via creds too
Diffstat (limited to 'units/systemd-firstboot.service')
-rw-r--r-- | units/systemd-firstboot.service | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/units/systemd-firstboot.service b/units/systemd-firstboot.service index d7f445ef35..2e57b064c1 100644 --- a/units/systemd-firstboot.service +++ b/units/systemd-firstboot.service @@ -25,3 +25,14 @@ ExecStart=systemd-firstboot --prompt-locale --prompt-timezone --prompt-root-pass StandardOutput=tty StandardInput=tty StandardError=tty + +# Optionally, pick up basic fields from credentials passed to the service +# manager. This is useful for importing this data from nspawn's +# --set-credential= switch. +LoadCredential=passwd.hashed-password.root +LoadCredential=passwd.plaintext-password.root +LoadCredential=passwd.shell.root +LoadCredential=firstboot.locale +LoadCredential=firstboot.locale-messages +LoadCredential=firstboot.keymap +LoadCredential=firstboot.timezone |