summaryrefslogtreecommitdiff
path: root/op-mode-definitions/system-image.xml.in
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2024-05-10 09:06:39 -0500
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-05-10 16:51:21 +0000
commitf8da2a726cec513c245402f1374b2545e39309eb (patch)
treee7d801e86e34a616accfcec3e7ff9019f39c1899 /op-mode-definitions/system-image.xml.in
parent001b8207a0fbf41ecf90368c247f9145ac727422 (diff)
downloadvyos-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/system-image.xml.in')
-rw-r--r--op-mode-definitions/system-image.xml.in9
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>