I think exist another way that more simple to set param set system options reboot-on-panic true. Today I had some logical issue with this command
dimka@vyos-rtr1# set system options reboot-on-panic Possible completions: <boolean> Reboot system on kernel panic [edit] dimka@vyos-rtr1# set system options reboot-on-panic 1 "1" is not a valid value of type "bool" Value validation failed Set failed [edit] dimka@vyos-rtr1# set system options reboot-on-panic yes "yes" is not a valid value of type "bool" Value validation failed Set failed [edit] dimka@vyos-rtr1# set system options reboot-on-panic true
The fourth attempt was successful. I propose use only set system options reboot-on-panic without boolean types.