diff --git a/packaging/tools/install.sh b/packaging/tools/install.sh index 338abcc6a05603e3ce313fc615a6240754e5315a..d98ed2185f014356fcf6e954bd717be98a960d16 100755 --- a/packaging/tools/install.sh +++ b/packaging/tools/install.sh @@ -348,7 +348,7 @@ function set_ipAsFqdn() { } function local_fqdn_check() { - #serverFqdn=$(hostname -f) + #serverFqdn=$(hostname) echo echo -e -n "System hostname is: ${GREEN}$serverFqdn${NC}" echo @@ -911,7 +911,7 @@ function install_TDengine() { ## ==============================Main program starts from here============================ -serverFqdn=$(hostname -f) +serverFqdn=$(hostname) if [ "$verType" == "server" ]; then # Install server and client if [ -x ${bin_dir}/taosd ]; then diff --git a/packaging/tools/install_power.sh b/packaging/tools/install_power.sh index 28788ceb74ac553da4f72a405085cfe264e47fa2..b14d5d400b9332c52f1559dcfef72a287d9fc385 100755 --- a/packaging/tools/install_power.sh +++ b/packaging/tools/install_power.sh @@ -345,7 +345,7 @@ function set_ipAsFqdn() { } function local_fqdn_check() { - #serverFqdn=$(hostname -f) + #serverFqdn=$(hostname) echo echo -e -n "System hostname is: ${GREEN}$serverFqdn${NC}" echo @@ -881,7 +881,7 @@ function install_PowerDB() { ## ==============================Main program starts from here============================ -serverFqdn=$(hostname -f) +serverFqdn=$(hostname) if [ "$verType" == "server" ]; then # Install server and client if [ -x ${bin_dir}/powerd ]; then diff --git a/packaging/tools/post.sh b/packaging/tools/post.sh index 9d15b9736ed8647440ee3cd0f25276d635da1952..6bfbf33fd1dd8011e0fbd77322b9f104a0ab8c30 100755 --- a/packaging/tools/post.sh +++ b/packaging/tools/post.sh @@ -228,7 +228,7 @@ function set_ipAsFqdn() { } function local_fqdn_check() { - #serverFqdn=$(hostname -f) + #serverFqdn=$(hostname) echo echo -e -n "System hostname is: ${GREEN}$serverFqdn${NC}" echo @@ -492,5 +492,5 @@ function install_TDengine() { ## ==============================Main program starts from here============================ -serverFqdn=$(hostname -f) +serverFqdn=$(hostname) install_TDengine