diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2023-05-07 11:03:29 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2023-05-11 12:18:50 +0200 |
commit | 4decc7a5147294e0982484055fdbb123e5ff93fc (patch) | |
tree | fa71660d2a664e43561e678ce9dad2e27d13ba8c | |
parent | mkosi: Disable create-log-dirs option (diff) | |
download | systemd-4decc7a5147294e0982484055fdbb123e5ff93fc.tar.xz systemd-4decc7a5147294e0982484055fdbb123e5ff93fc.zip |
mkosi: Replace root password setting with a credential
-rw-r--r-- | mkosi.conf.d/10-systemd.conf | 2 | ||||
-rw-r--r-- | mkosi.presets/20-final/mkosi.conf | 1 |
2 files changed, 2 insertions, 1 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 diff --git a/mkosi.presets/20-final/mkosi.conf b/mkosi.presets/20-final/mkosi.conf index d15a17a161..42fcb7d582 100644 --- a/mkosi.presets/20-final/mkosi.conf +++ b/mkosi.presets/20-final/mkosi.conf @@ -34,5 +34,4 @@ Packages= zsh [Validation] -Password= Autologin=yes |