summaryrefslogtreecommitdiff
path: root/src/op_mode
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2023-12-12 12:42:40 -0600
committerJohn Estabrook <jestabro@vyos.io>2023-12-12 12:44:53 -0600
commitcf83979636c686a459d6dc75dcd98e342c70b1b3 (patch)
tree681bbfaaa94a6d01f738c1d360fd3ea8a35c2447 /src/op_mode
parent138fe52743703aa771f388da026816c671e7d25b (diff)
downloadvyos-1x-cf83979636c686a459d6dc75dcd98e342c70b1b3.tar.gz
vyos-1x-cf83979636c686a459d6dc75dcd98e342c70b1b3.zip
image-tools: T5819: do not echo password on image install
Diffstat (limited to 'src/op_mode')
-rwxr-xr-xsrc/op_mode/image_installer.py3
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,