From 20c7c570b923b18acb9889b0e02e75cf78a3ee64 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Sat, 3 Feb 2024 14:56:42 +0000 Subject: 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. --- mkosi.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mkosi.conf') diff --git a/mkosi.conf b/mkosi.conf index ee7fa6e2a4..1cc7a51d96 100644 --- a/mkosi.conf +++ b/mkosi.conf @@ -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 -- cgit v1.2.3