From 3bd5beec8f9a2d45af3d04185ce6a4b3afc56bb6 Mon Sep 17 00:00:00 2001
From: Florian Sesser <florian@privatestorage.io>
Date: Wed, 17 Mar 2021 10:45:20 +0000
Subject: [PATCH] Increase boot loader timeout to 10s

... so we can actually catch the boot loader menu from IPMI on the first try.
Resolving privatestorage/privatestorageops#329 .
---
 morph/lib/bootstrap-configuration.nix | 2 +-
 nixos/modules/100tb.nix               | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/morph/lib/bootstrap-configuration.nix b/morph/lib/bootstrap-configuration.nix
index c639fb97..e26e3457 100644
--- a/morph/lib/bootstrap-configuration.nix
+++ b/morph/lib/bootstrap-configuration.nix
@@ -85,7 +85,7 @@ in
     ];
 
   # Configure the bootloader how we like.
-  boot.loader.timeout = 1;
+  boot.loader.timeout = 10;
   boot.loader.grub.enable = true;
   boot.loader.grub.version = 2;
   boot.loader.grub.device = "/dev/disk/by-id/${grubDeviceID}";
diff --git a/nixos/modules/100tb.nix b/nixos/modules/100tb.nix
index 1bcb6ba1..a8db0e8b 100644
--- a/nixos/modules/100tb.nix
+++ b/nixos/modules/100tb.nix
@@ -105,7 +105,7 @@ in {
     boot.loader.grub.version = 2;
     boot.loader.grub.device = "/dev/disk/by-id/${cfg.grubDeviceID}";
 
-    boot.loader.timeout = 1;
+    boot.loader.timeout = 10;
     networking.firewall.enable = false;
 
     networking.hostId = cfg.hostId;
-- 
GitLab