summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2024-05-10 14:33:40 -0500
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-05-11 05:21:31 +0000
commitd294087ac5bf4ebad9a6c6d018ce6e9ed93a47cf (patch)
tree75c254ab13d98dc9b8cf830408ffc6b667cbfc98 /src
parent5fbc4dfb37f387012fc2cacd8879ccfe89342d4a (diff)
downloadvyos-1x-d294087ac5bf4ebad9a6c6d018ce6e9ed93a47cf.tar.gz
vyos-1x-d294087ac5bf4ebad9a6c6d018ce6e9ed93a47cf.zip
image-tools: T6176: use console_hint as default
(cherry picked from commit 0eb09b81f763a62684a7be905267f081f9d6aeb1)
Diffstat (limited to 'src')
-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 d65cd6b1d..34afad365 100755
--- a/src/op_mode/image_installer.py
+++ b/src/op_mode/image_installer.py
@@ -675,7 +675,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'}