summaryrefslogtreecommitdiff
path: root/op-mode-definitions/system-image.xml.in
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2024-05-10 12:11:14 -0500
committerGitHub <noreply@github.com>2024-05-10 12:11:14 -0500
commitf3d7e453236948ff590afd735903d1a7238cea5b (patch)
tree76ffe1db2c74e5935005acf968df1e10bdb03282 /op-mode-definitions/system-image.xml.in
parentd93aedfe993a6e9868ee88803c2dc981cabdfc15 (diff)
parent2fa4014d2f4e1f65dfb2be57177a2185e804fc1b (diff)
downloadvyos-1x-f3d7e453236948ff590afd735903d1a7238cea5b.tar.gz
vyos-1x-f3d7e453236948ff590afd735903d1a7238cea5b.zip
Merge pull request #3444 from vyos/mergify/bp/sagitta/pr-3443
image-tools: T6176: fixes for boot console (backport #3443)
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>