diff options
author | John Estabrook <jestabro@vyos.io> | 2024-05-10 14:33:40 -0500 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-05-11 05:21:31 +0000 |
commit | d294087ac5bf4ebad9a6c6d018ce6e9ed93a47cf (patch) | |
tree | 75c254ab13d98dc9b8cf830408ffc6b667cbfc98 /src/op_mode/image_installer.py | |
parent | 5fbc4dfb37f387012fc2cacd8879ccfe89342d4a (diff) | |
download | vyos-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/op_mode/image_installer.py')
-rwxr-xr-x | src/op_mode/image_installer.py | 2 |
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'} |