]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: use systemd.firstboot=no to turn of interactivity at boot
authorLennart Poettering <lennart@poettering.net>
Thu, 30 Nov 2023 17:41:53 +0000 (18:41 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 18 Dec 2023 10:11:11 +0000 (11:11 +0100)
Now that creds are processed even if systemd.firstboot=no is set, we can
use it to disable the root pw prompt *and* the new homectl prompt at the
same time, without breaking the creds stuff.

mkosi.conf

index 9961407a04319770c82ab0a7a8ba20025fcfccf6..b66b7726f1641d44ca1e190b911aa93424ef3e66 100644 (file)
@@ -18,8 +18,6 @@ Environment=ASAN_OPTIONS=verify_asan_link_order=false
 @Incremental=yes
 @QemuMem=2G
 @RuntimeSize=8G
-# 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
@@ -37,3 +35,4 @@ KernelCommandLineExtra=systemd.crash_shell
                        selinux=0
                        enforcing=0
                        systemd.early_core_pattern=/core
+                       systemd.firstboot=no