mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
integrate-distro.sh: Add generation of /etc/openldap/ldap.conf
This commit is contained in:
parent
0055893bfe
commit
b75c7f084f
1 changed files with 12 additions and 0 deletions
|
|
@ -32,6 +32,7 @@ payload_pkgs="
|
|||
splashy
|
||||
|
||||
kbd
|
||||
sensors
|
||||
|
||||
db-utils
|
||||
|
||||
|
|
@ -406,6 +407,14 @@ make_etc_hosts()
|
|||
EOT
|
||||
}
|
||||
|
||||
make_etc_openldap_ldap_conf()
|
||||
{
|
||||
_cat << EOT
|
||||
TLS_CACERT /etc/certs/root-ca-1.pem
|
||||
TLS_REQCERT allow
|
||||
EOT
|
||||
}
|
||||
|
||||
make_netboot_etc_hosts()
|
||||
{
|
||||
cat /etc/hosts
|
||||
|
|
@ -639,6 +648,9 @@ cmd_install()
|
|||
make_netboot_etc_openldap_ldap_conf > $root/etc/openldap/ldap.conf.netboot
|
||||
make_netboot_etc_hosts > $root/etc/hosts.netboot
|
||||
|
||||
make_etc_openldap_ldap_conf > $root/etc/openldap/ldap.conf
|
||||
chmod 644 $root/etc/openldap/ldap.conf
|
||||
|
||||
make_etc_hosts > $root/etc/hosts
|
||||
make_etc_fstab > $root/etc/fstab
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue