diff options
author | John Estabrook <jestabro@vyos.io> | 2023-12-12 12:42:40 -0600 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2023-12-16 20:37:11 -0600 |
commit | 300f902f823be2d031f1ed3b7574332ed51b88b5 (patch) | |
tree | b0bfcbfaff7c7bc33b46173e7b2d97a23d199cf5 /src/op_mode/image_installer.py | |
parent | 58dcd542f5b06c6d0e335b0476b76cde6920be80 (diff) | |
download | vyos-1x-300f902f823be2d031f1ed3b7574332ed51b88b5.tar.gz vyos-1x-300f902f823be2d031f1ed3b7574332ed51b88b5.zip |
image-tools: T5819: do not echo password on image install
(cherry picked from commit cf83979636c686a459d6dc75dcd98e342c70b1b3)
Diffstat (limited to 'src/op_mode/image_installer.py')
-rwxr-xr-x | src/op_mode/image_installer.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/op_mode/image_installer.py b/src/op_mode/image_installer.py index b3e6e518c..9452c5e28 100755 --- a/src/op_mode/image_installer.py +++ b/src/op_mode/image_installer.py @@ -611,7 +611,8 @@ def install_image() -> None: print(MSG_WARN_IMAGE_NAME_WRONG) # ask for password - user_password: str = ask_input(MSG_INPUT_PASSWORD, default='vyos') + user_password: str = ask_input(MSG_INPUT_PASSWORD, default='vyos', + no_echo=True) # ask for default console console_type: str = ask_input(MSG_INPUT_CONSOLE_TYPE, |