[TD-1933]<fix>: input fqdn and email during rpm package install

This commit is contained in:
zyyang 2020-11-04 11:27:59 +08:00
parent 8cb17fcf9e
commit 25ced73caf
1 changed files with 5 additions and 2 deletions

View File

@ -121,7 +121,10 @@ function install_config() {
echo -e -n "${GREEN}Enter FQDN:port (like h1.taosdata.com:6030) of an existing TDengine cluster node to join${NC}"
echo
echo -e -n "${GREEN}OR leave it blank to build one${NC}:"
read firstEp
#read firstEp
if exec < /dev/tty; then
read firstEp;
fi
while true; do
if [ ! -z "$firstEp" ]; then
# check the format of the firstEp