From 3fe9997ab34df887a21ddf1c2035c7e2e9ab297d Mon Sep 17 00:00:00 2001 From: cmstew Date: Thu, 10 Aug 2017 11:44:38 -0600 Subject: [PATCH] Update v-sync-dns-cluster Forgot to exclude the dns-cluster user in the updated script. --- bin/v-sync-dns-cluster | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/v-sync-dns-cluster b/bin/v-sync-dns-cluster index e10e5228..207ecf91 100755 --- a/bin/v-sync-dns-cluster +++ b/bin/v-sync-dns-cluster @@ -49,7 +49,7 @@ for cluster in $hosts; do check_result $? "$HOST connection failed" $E_CONNECT # Syncing user domains - user_list=$(ls -d $VESTA/data/users/*/ | sed "s#$VESTA/data/users/##" | sed s"/.$//") + user_list=$(ls -d $VESTA/data/users/*/ | sed "s#$VESTA/data/users/##" | sed s"/.$//" | grep -v "dns-cluster") for user in $user_list; do for str in $(cat $VESTA/data/users/$user/dns.conf); do