diff --git a/start b/start index 26b96e9..2d076aa 100755 --- a/start +++ b/start @@ -14,8 +14,8 @@ echo "TLD: ${TLD}" for filename in /container/templates/; do echo "Building ${filename}" - sed -i "s/\$\{ORG\}/${ORG}/" "${filename}" - sed -i "s/\$\{ORG\}/${TLD}/" "${filename}" + sed -i "s/CUSTOM_ORG/${ORG}/" "${filename}" + sed -i "s/CUSTOM_TLD/${TLD}/" "${filename}" cp "${filename}" "/container/service/slapd/assets/config/bootstrap/ldif/" done diff --git a/templates/05-orgUnit.ldif b/templates/05-orgUnit.ldif index 1385cc0..09ec35b 100644 --- a/templates/05-orgUnit.ldif +++ b/templates/05-orgUnit.ldif @@ -1,6 +1,6 @@ -dn: ou=People,dc=${ORG},dc=${TLD} +dn: ou=People,dc=CUSTOM_ORG,dc=CUSTOM_TLD objectclass: organizationalUnit ou: People -dn: ou=Group,dc=${ORG},dc=${TLD} +dn: ou=Group,dc=CUSTOM_ORG,dc=CUSTOM_TLD objectclass: organizationalUnit ou: Group