This commit is contained in:
Emmanuel Garette 2019-02-19 15:07:17 +01:00
parent e6729673fb
commit 6d2199121d

View File

@ -435,7 +435,7 @@ function init_ha() {
DOMAIN=$(CreoleGet nom_domaine_machine)
FOLLOWER=$(CreoleGet one_followers_domain)
onezone server-add 0 --name $SERVER --rpc http://$DOMAIN:2633/RPC2
for $follower in $FOLLOWER; do
for follower in $FOLLOWER; do
onezone server-add 0 --name $follower --rpc http://$follower:2633/RPC2
done
fi