summaryrefslogtreecommitdiff
path: root/mkosi.conf.d
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2023-05-07 11:03:29 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2023-05-11 12:18:50 +0200
commit4decc7a5147294e0982484055fdbb123e5ff93fc (patch)
treefa71660d2a664e43561e678ce9dad2e27d13ba8c /mkosi.conf.d
parentdb7a46ed5f37e13e37d41d3c81d50285864f03ad (diff)
downloadsystemd-4decc7a5147294e0982484055fdbb123e5ff93fc.tar.gz
mkosi: Replace root password setting with a credential
Diffstat (limited to 'mkosi.conf.d')
-rw-r--r--mkosi.conf.d/10-systemd.conf2
1 files changed, 2 insertions, 0 deletions
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