Merge pull request #4099 from taosdata/hotfix/TD-1933
[TD-1933]<fix>: input fqdn and email during rpm package install
This commit is contained in:
commit
23411f8341
|
@ -121,8 +121,11 @@ 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 -e -n "${GREEN}Enter FQDN:port (like h1.taosdata.com:6030) of an existing TDengine cluster node to join${NC}"
|
||||||
echo
|
echo
|
||||||
echo -e -n "${GREEN}OR leave it blank to build one${NC}:"
|
echo -e -n "${GREEN}OR leave it blank to build one${NC}:"
|
||||||
read firstEp
|
#read firstEp
|
||||||
while true; do
|
if exec < /dev/tty; then
|
||||||
|
read firstEp;
|
||||||
|
fi
|
||||||
|
while true; do
|
||||||
if [ ! -z "$firstEp" ]; then
|
if [ ! -z "$firstEp" ]; then
|
||||||
# check the format of the firstEp
|
# check the format of the firstEp
|
||||||
#if [[ $firstEp == $FQDN_PATTERN ]]; then
|
#if [[ $firstEp == $FQDN_PATTERN ]]; then
|
||||||
|
|
Loading…
Reference in New Issue