summaryrefslogtreecommitdiffstats
path: root/units/systemd-firstboot.service
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2023-06-08 14:09:36 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2023-06-08 14:09:36 +0200
commit1ab6ae19575c55d134ed630fa0e13874ce1a6de4 (patch)
tree59bd6c65015342684810c9caaf9a2b953bb7a3fb /units/systemd-firstboot.service
parentcreds: Add ImportCredential= (diff)
downloadsystemd-1ab6ae19575c55d134ed630fa0e13874ce1a6de4.tar.xz
systemd-1ab6ae19575c55d134ed630fa0e13874ce1a6de4.zip
units: Use ImportCredential= where applicable
Diffstat (limited to 'units/systemd-firstboot.service')
-rw-r--r--units/systemd-firstboot.service11
1 files changed, 4 insertions, 7 deletions
diff --git a/units/systemd-firstboot.service b/units/systemd-firstboot.service
index 984ebf282a..0c8d574ef8 100644
--- a/units/systemd-firstboot.service
+++ b/units/systemd-firstboot.service
@@ -32,10 +32,7 @@ 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
+ImportCredential=passwd.hashed-password.root
+ImportCredential=passwd.plaintext-password.root
+ImportCredential=passwd.shell.root
+ImportCredential=firstboot.*