Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.

Commit b97eb5c

Browse files
author
Michael Sauter
authored
Merge pull request #733 from opendevstack/fix/install-script-read-dev-tty
Read from /dev/tty in install script
2 parents 827c7fa + f485b10 commit b97eb5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deploy/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,11 @@ installSecret () {
174174
if [ -z "${flagValue}" ]; then
175175
if [ -n "${usernamePrompt}" ]; then
176176
echo "${usernamePrompt}"
177-
read -r authUser
177+
read -r authUser </dev/tty
178178
fi
179179
if [ -n "${passwordPrompt}" ]; then
180180
echo "${passwordPrompt}"
181-
read -rs authPassword
181+
read -rs authPassword </dev/tty
182182
else
183183
authUser=''
184184
authPassword=$(LC_ALL=C tr -dc 'A-Za-z0-9#%*+\-<=>_{|}' </dev/urandom | head -c 32 ; echo)

0 commit comments

Comments
 (0)