Skip to content

Commit dda1ceb

Browse files
committed
complex-bash-env
1 parent 4d16b90 commit dda1ceb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

image/service/slapd/startup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ EOF
294294
disableReplication || true
295295

296296
i=1
297-
for host in $(complex-bash-env iterate "${LDAP_REPLICATION_HOSTS}")
297+
for host in $(complex-bash-env iterate LDAP_REPLICATION_HOSTS)
298298
do
299299
sed -i "s|{{ LDAP_REPLICATION_HOSTS }}|olcServerID: $i ${host}\n{{ LDAP_REPLICATION_HOSTS }}|g" ${CONTAINER_SERVICE_DIR}/slapd/assets/config/replication/replication-enable.ldif
300300
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

0 commit comments

Comments
 (0)