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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user