We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f851da5 commit 6d4da8dCopy full SHA for 6d4da8d
1 file changed
bin/v-add-remote-dns-host
@@ -16,8 +16,6 @@ user=$3
16
password=$4
17
type=${5-api}
18
dns_user=${6-dns-cluster}
19
-
20
-# fix for variable name in other files
21
DNS_USER=$dns_user
22
23
# Includes
@@ -45,9 +43,10 @@ is_dnshost_alive
45
43
# Action #
46
44
#----------------------------------------------------------#
47
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'"
+# Concatentating dns host string
+str="HOST='$host' PORT='$port' USER='$user' PASSWORD='$password'"
+str="$str DNS_USER='$dns_user' TYPE='$type' SUSPENDED='no'"
+str="$str TIME='$TIME' DATE='$DATE'"
51
52
# Adding host to dns-cluster.conf
53
echo "$str" >> $VESTA/conf/dns-cluster.conf
0 commit comments