diff options
author | Daniil Baturin <daniil@vyos.io> | 2025-05-21 00:32:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-21 00:32:28 +0100 |
commit | ed6248557f691d4edb8d26c014086b3b7e9825dc (patch) | |
tree | 6a694d993b79e03464a9347892938644de0eedf0 /interface-definitions | |
parent | a1c9e9f72b298f3fa53c07386f3e931ced7dba5a (diff) | |
parent | 735df23bf2f99a4f29ace61d160b46d52f832791 (diff) | |
download | vyos-1x-ed6248557f691d4edb8d26c014086b3b7e9825dc.tar.gz vyos-1x-ed6248557f691d4edb8d26c014086b3b7e9825dc.zip |
Merge pull request #4501 from c-po/boot-recovery-T1771
T1771: automatic reboot of system into previous image
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/system_option.xml.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/interface-definitions/system_option.xml.in b/interface-definitions/system_option.xml.in index c0ea958a2..5d385e3d0 100644 --- a/interface-definitions/system_option.xml.in +++ b/interface-definitions/system_option.xml.in @@ -342,6 +342,19 @@ <valueless/> </properties> </leafNode> + <leafNode name="reboot-on-upgrade-failure"> + <properties> + <help>Automatic reboot into previous running image on upgrade failure</help> + <valueHelp> + <format>u32:1-30</format> + <description>Timeout before automatic reboot (minutes)</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 5-30"/> + </constraint> + <constraintErrorMessage>Timeout out of range, must be 5 to 30 minutes</constraintErrorMessage> + </properties> + </leafNode> <node name="ssh-client"> <properties> <help>Global options used for SSH client</help> |