From 4decc7a5147294e0982484055fdbb123e5ff93fc Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Sun, 7 May 2023 11:03:29 +0200 Subject: mkosi: Replace root password setting with a credential --- mkosi.conf.d/10-systemd.conf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mkosi.conf.d') diff --git a/mkosi.conf.d/10-systemd.conf b/mkosi.conf.d/10-systemd.conf index ad709829ba..6dc6443a85 100644 --- a/mkosi.conf.d/10-systemd.conf +++ b/mkosi.conf.d/10-systemd.conf @@ -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 -- cgit v1.2.1