mkosi: Extend default device timeout to 20 seconds

A moderately heavily loaded system booting an image without a rootfs
may timeout before the root device appears.
20 seconds is enough for a VM with 2 CPUs and 2GB RAM.
This commit is contained in:
Richard Maw
2024-04-18 16:26:38 +01:00
parent 61584182f5
commit 20c7c570b9
+1 -1
View File
@@ -33,7 +33,7 @@ KernelCommandLineExtra=systemd.crash_shell
rw
# Lower the default device timeout so we get a shell earlier if the root device does
# not appear for some reason.
systemd.default_device_timeout_sec=10
systemd.default_device_timeout_sec=20
# Make sure no LSMs are enabled by default.
apparmor=0
selinux=0