diff options
author | Christian Breunig <christian@breunig.cc> | 2024-05-10 18:50:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-10 18:50:10 +0200 |
commit | d0bfe6ddb92f4a0e3d19c26eb475cbc42f946480 (patch) | |
tree | 38bf27c7da5ee0d9bc4bedea93983d75ad2f800a /op-mode-definitions | |
parent | def74a8fa4e0fb9c7ef95bfb6daff8a4f1a9878f (diff) | |
parent | 428d03e47e7d01b08ccb8cf1acc0ab8a53275286 (diff) | |
download | vyos-1x-d0bfe6ddb92f4a0e3d19c26eb475cbc42f946480.tar.gz vyos-1x-d0bfe6ddb92f4a0e3d19c26eb475cbc42f946480.zip |
Merge pull request #3443 from jestabro/fix-boot-console
image-tools: T6176: fixes for boot console
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 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> |