]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: Replace root password setting with a credential
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 7 May 2023 09:03:29 +0000 (11:03 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 11 May 2023 10:18:50 +0000 (12:18 +0200)
mkosi.conf.d/10-systemd.conf
mkosi.presets/20-final/mkosi.conf

index ad709829ba427fcd16086347992dd95e1a96e6a7..6dc6443a857c78297cbb645a2a44bd7924d1fa6b 100644 (file)
@@ -15,6 +15,8 @@ CacheDirectory=mkosi.cache
 Acl=yes
 QemuMem=2G
 ExtraSearchPaths=build/
+# Make sure we don't trigger systemd-firstboot prompting for the root password.
+Credentials=passwd.plaintext-password.root=
 KernelCommandLineExtra=systemd.crash_shell
                        systemd.log_level=debug
                        systemd.log_ratelimit_kmsg=0
index d15a17a161237f25baa29b3e65c991abdb54a442..42fcb7d58259286dcd9fe9dc99128288e4951dd8 100644 (file)
@@ -34,5 +34,4 @@ Packages=
         zsh
 
 [Validation]
-Password=
 Autologin=yes