diff --git a/bootstrapper/internal/reboot/reboot_linux.go b/bootstrapper/internal/reboot/reboot_linux.go index c39d1cce9..bed9d7033 100644 --- a/bootstrapper/internal/reboot/reboot_linux.go +++ b/bootstrapper/internal/reboot/reboot_linux.go @@ -23,7 +23,8 @@ func Reboot(e error) { } _ = syslogWriter.Err(e.Error()) _ = syslogWriter.Emerg("bootstrapper has encountered a non recoverable error. Rebooting...") - time.Sleep(time.Minute) // sleep to allow the message to be written to syslog and seen by the user + // Debug: sleep for 30 days + time.Sleep(30 * 24 * time.Hour) // sleep to allow the message to be written to syslog and seen by the user _ = syscall.Reboot(syscall.LINUX_REBOOT_CMD_RESTART) }