summaryrefslogtreecommitdiff
path: root/src/op_mode/image_installer.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-05-11 07:20:52 +0200
committerGitHub <noreply@github.com>2024-05-11 07:20:52 +0200
commitef8ec78ac2ce2df0c7e7b15f94ad18d966ce6d39 (patch)
treeef4cfb19dd19405d8810621bed2da7e83cbabf13 /src/op_mode/image_installer.py
parentd0bfe6ddb92f4a0e3d19c26eb475cbc42f946480 (diff)
parent0eb09b81f763a62684a7be905267f081f9d6aeb1 (diff)
downloadvyos-1x-ef8ec78ac2ce2df0c7e7b15f94ad18d966ce6d39.tar.gz
vyos-1x-ef8ec78ac2ce2df0c7e7b15f94ad18d966ce6d39.zip
Merge pull request #3445 from jestabro/addendum-fix-boot-console
image-tools: T6176: addendum to fixes for boot console
Diffstat (limited to 'src/op_mode/image_installer.py')
-rwxr-xr-xsrc/op_mode/image_installer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op_mode/image_installer.py b/src/op_mode/image_installer.py
index 22bdc26fb..0d2d7076c 100755
--- a/src/op_mode/image_installer.py
+++ b/src/op_mode/image_installer.py
@@ -725,7 +725,7 @@ def install_image() -> None:
# ask for default console
console_type: str = ask_input(MSG_INPUT_CONSOLE_TYPE,
- default='K',
+ default=console_hint(),
valid_responses=['K', 'S'])
console_dict: dict[str, str] = {'K': 'tty', 'S': 'ttyS'}