forked from pool/opensuse-openldap-image
OBS-URL: https://build.opensuse.org/request/show/829803 OBS-URL: https://build.opensuse.org/package/show/devel:kubic:containers/opensuse-openldap-image?expand=0&rev=1
22 lines
602 B
Bash
22 lines
602 B
Bash
#!/bin/sh
|
|
|
|
#======================================
|
|
# Functions...
|
|
#--------------------------------------
|
|
test -f /.profile && . /.profile
|
|
|
|
#======================================
|
|
# Greeting...
|
|
#--------------------------------------
|
|
echo "Configure image: [$kiwi_iname]..."
|
|
|
|
echo "Move /etc/sysconfig/openldap away"
|
|
mv /etc/sysconfig/openldap /etc/sysconfig/openldap.example
|
|
|
|
# No default domain and standard password ...
|
|
rm /etc/openldap/slapd.conf
|
|
|
|
# Fix path so that update-ca-certificates does not complain
|
|
# [bsc#1175340]
|
|
rm /etc/ssl/certs && ln -sf /var/lib/ca-certificates/pem /etc/ssl/certs
|