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
committerJohn Estabrook <jestabro@vyos.io>2024-05-10 09:06:39 -0500
commiteb281199ba35de52a8a97146dfc063e557755648 (patch)
treecff33228f1cdbf05fb581c44638fcd0eef9720e2 /op-mode-definitions/system-image.xml.in
parent32658e981babffb5b7149534bd50a64d11f7c74f (diff)
downloadvyos-1x-eb281199ba35de52a8a97146dfc063e557755648.tar.gz
vyos-1x-eb281199ba35de52a8a97146dfc063e557755648.zip
image-tools: T6184: add op-mode set boot-console
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 7b5260b4e..44b055be6 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>