diff options
author | John Estabrook <jestabro@vyos.io> | 2024-05-10 09:06:39 -0500 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-05-10 16:51:21 +0000 |
commit | f8da2a726cec513c245402f1374b2545e39309eb (patch) | |
tree | e7d801e86e34a616accfcec3e7ff9019f39c1899 /op-mode-definitions | |
parent | 001b8207a0fbf41ecf90368c247f9145ac727422 (diff) | |
download | vyos-1x-f8da2a726cec513c245402f1374b2545e39309eb.tar.gz vyos-1x-f8da2a726cec513c245402f1374b2545e39309eb.zip |
image-tools: T6184: add op-mode set boot-console
(cherry picked from commit eb281199ba35de52a8a97146dfc063e557755648)
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/system-image.xml.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/op-mode-definitions/system-image.xml.in b/op-mode-definitions/system-image.xml.in index c131087be..13bc408de 100644 --- a/op-mode-definitions/system-image.xml.in +++ b/op-mode-definitions/system-image.xml.in @@ -72,6 +72,15 @@ <help>Set system operational parameters</help> </properties> <children> + <tagNode name="boot-console"> + <properties> + <help>Set system console type at boot</help> + <completionHelp> + <script>sudo ${vyos_op_scripts_dir}/image_manager.py --action list_console_types</script> + </completionHelp> + </properties> + <command>sudo ${vyos_op_scripts_dir}/image_manager.py --action set_console_type --console-type "${4}"</command> + </tagNode> <node name="image"> <properties> <help>Set system image parameters</help> |