File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,6 @@ user=$3
1616password=$4
1717type=${5-api}
1818dns_user=${6-dns-cluster}
19-
20- # fix for variable name in other files
2119DNS_USER=$dns_user
2220
2321# Includes
@@ -45,9 +43,10 @@ is_dnshost_alive
4543# Action #
4644# ----------------------------------------------------------#
4745
48- # Concatentating db host string
49- str=" HOST='$host ' USER='$user ' PASSWORD='$password ' DNS_USER='$dns_user '"
50- str=" $str TYPE='$type ' SUSPENDED='no' TIME='$TIME ' DATE='$DATE '"
46+ # Concatentating dns host string
47+ str=" HOST='$host ' PORT='$port ' USER='$user ' PASSWORD='$password '"
48+ str=" $str DNS_USER='$dns_user ' TYPE='$type ' SUSPENDED='no'"
49+ str=" $str TIME='$TIME ' DATE='$DATE '"
5150
5251# Adding host to dns-cluster.conf
5352echo " $str " >> $VESTA /conf/dns-cluster.conf
You can’t perform that action at this time.
0 commit comments