Thanks,
Link: https://www.techrepublic.com/blog/linux-and-open-source/auto-reboot-linux-after-a-kernel-panic/
I also configured Linux to automatically reboot on a kernel panic by making a small modification to /etc/sysctl.conf,
Add the following to /etc/sysctl.conf:
kernel.panic = 20
This tells the kernel that if it encounters a panic, it is to reboot the system after a 20 second delay. By default, the kernel will never reboot when it encounters a panic, but with the above setting you can force it to.
Regards
Santhosh