diff --git a/scripts/integrate-distro.sh b/scripts/integrate-distro.sh index 16a05c57..a4b739bc 100644 --- a/scripts/integrate-distro.sh +++ b/scripts/integrate-distro.sh @@ -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