Explorar o código

complex-bash-env

ofreax %!s(int64=10) %!d(string=hai) anos
pai
achega
dda1ceb7a2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      image/service/slapd/startup.sh

+ 1 - 1
image/service/slapd/startup.sh

@@ -294,7 +294,7 @@ EOF
     disableReplication || true
 
     i=1
-    for host in $(complex-bash-env iterate "${LDAP_REPLICATION_HOSTS}")
+    for host in $(complex-bash-env iterate LDAP_REPLICATION_HOSTS)
     do
       sed -i "s|{{ LDAP_REPLICATION_HOSTS }}|olcServerID: $i ${host}\n{{ LDAP_REPLICATION_HOSTS }}|g" ${CONTAINER_SERVICE_DIR}/slapd/assets/config/replication/replication-enable.ldif
       sed -i "s|{{ LDAP_REPLICATION_HOSTS_CONFIG_SYNC_REPL }}|olcSyncRepl: rid=00$i provider=${host} ${LDAP_REPLICATION_CONFIG_SYNCPROV}\n{{ LDAP_REPLICATION_HOSTS_CONFIG_SYNC_REPL }}|g" ${CONTAINER_SERVICE_DIR}/slapd/assets/config/replication/replication-enable.ldif