1
0
mirror of https://github.com/systemd/systemd synced 2024-07-03 08:29:25 +00:00

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-02-03 14:56:42 +00:00
parent 61584182f5
commit 20c7c570b9

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