diff options
| author | Christian Breunig <christian@breunig.cc> | 2025-11-11 19:02:38 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-11 19:02:38 +0530 |
| commit | 835ac87b36577b770ba765fcbc00fd9885fb5855 (patch) | |
| tree | 5e64bfba6ed0b03dcf225c2ed07418c35d6b09c4 /src/op_mode | |
| parent | 659f479cab45641bc0353b052c37e8d8377baf89 (diff) | |
| parent | 6631fd47cb313258b869870982f7b3e2f970eaee (diff) | |
| download | vyos-1x-835ac87b36577b770ba765fcbc00fd9885fb5855.tar.gz vyos-1x-835ac87b36577b770ba765fcbc00fd9885fb5855.zip | |
Merge pull request #4842 from Firefishy/T8003
T8003: Add early kernel panic reboot support
Diffstat (limited to 'src/op_mode')
| -rwxr-xr-x | src/op_mode/image_installer.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/op_mode/image_installer.py b/src/op_mode/image_installer.py index 93c45b03f..92e649789 100755 --- a/src/op_mode/image_installer.py +++ b/src/op_mode/image_installer.py @@ -521,6 +521,10 @@ def get_cli_kernel_options(config_file: str) -> list: if 'quiet' in kernel_options: cmdline_options.append('quiet') + # Early reboot on kernel panic via kernel cmdline (must match system_option.py) + if dict_search('system.option.reboot-on-panic', config_dict) is not None: + cmdline_options.append('panic=60') + if 'disable-hpet' in kernel_options: cmdline_options.append('hpet=disable') |
