From 1ac2ea729a78ebdd8297742fcead87f9f7367f64 Mon Sep 17 00:00:00 2001 From: Dimitris Karakasilis Date: Thu, 26 Sep 2024 16:55:05 +0300 Subject: [PATCH] Add cmdline opts to auto reboot when system crashes Fixes https://github.com/kairos-io/kairos/issues/2869 Signed-off-by: Dimitris Karakasilis --- pkg/constants/constants.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/constants/constants.go b/pkg/constants/constants.go index 27e3954..52dcb91 100644 --- a/pkg/constants/constants.go +++ b/pkg/constants/constants.go @@ -53,7 +53,7 @@ const ( ArchArm64 = "arm64" Archaarch64 = "aarch64" - UkiCmdline = "console=ttyS0 console=tty1 net.ifnames=1 rd.immucore.oemlabel=COS_OEM rd.immucore.oemtimeout=2 rd.immucore.uki selinux=0" + UkiCmdline = "console=ttyS0 console=tty1 net.ifnames=1 rd.immucore.oemlabel=COS_OEM rd.immucore.oemtimeout=2 rd.immucore.uki selinux=0 panic=5 rd.shell=0 systemd.crash_reboot=yes" UkiCmdlineInstall = "install-mode" UkiSystemdBootx86 = "/usr/kairos/systemd-bootx64.efi" UkiSystemdBootStubx86 = "/usr/kairos/linuxx64.efi.stub"