From ceca35caffccda4d14c57f06fc6e35b85f4b4a41 Mon Sep 17 00:00:00 2001 From: Astro Date: Fri, 10 Jun 2022 18:59:21 +0200 Subject: [PATCH] modules/rpi-netboot: automatically reboot on panic --- modules/rpi-netboot.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/rpi-netboot.nix b/modules/rpi-netboot.nix index b807ef1f..b7a9bcee 100644 --- a/modules/rpi-netboot.nix +++ b/modules/rpi-netboot.nix @@ -18,6 +18,9 @@ kernelParams = [ "verbose" "shell_on_fail" "elevator=deadline" + # ethernet causes panics every few boots, + # reboot automatically after 5s + "panic=5" ]; initrd = { network = {