summaryrefslogtreecommitdiff
path: root/src/op_mode
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2024-05-10 14:33:40 -0500
committerJohn Estabrook <jestabro@vyos.io>2024-05-10 21:15:39 -0500
commit0eb09b81f763a62684a7be905267f081f9d6aeb1 (patch)
treeef4cfb19dd19405d8810621bed2da7e83cbabf13 /src/op_mode
parentecee10d0512daff3034499d1163463d1390e35d4 (diff)
downloadvyos-1x-0eb09b81f763a62684a7be905267f081f9d6aeb1.tar.gz
vyos-1x-0eb09b81f763a62684a7be905267f081f9d6aeb1.zip
image-tools: T6176: use console_hint as default
Diffstat (limited to 'src/op_mode')
-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'}