summaryrefslogtreecommitdiffstats
path: root/mkosi.conf
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2024-02-03 15:56:42 +0100
committerRichard Maw <richard.maw@codethink.co.uk>2024-04-18 17:26:38 +0200
commit20c7c570b923b18acb9889b0e02e75cf78a3ee64 (patch)
treed3b9c37a045d0d07977df21b76f5a95ecb028ae8 /mkosi.conf
parentMerge pull request #32328 from YHNdnzj/deserialize-objective (diff)
downloadsystemd-20c7c570b923b18acb9889b0e02e75cf78a3ee64.tar.xz
systemd-20c7c570b923b18acb9889b0e02e75cf78a3ee64.zip
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.
Diffstat (limited to 'mkosi.conf')
-rw-r--r--mkosi.conf2
1 files changed, 1 insertions, 1 deletions
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