diff --git a/entrypoint.sh b/entrypoint.sh index 70fd7df..a7ea2b2 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -85,6 +85,14 @@ rm -f ${LIBRENMS_PATH}/config.d/* echo "Setting LibreNMS configuration..." +# Config : Directories + cat > ${LIBRENMS_PATH}/config.d/directories.php <&2 echo "ERROR: DB_HOST must be defined" @@ -101,6 +109,12 @@ EOL dbcmd="mysql -h ${DB_HOST} -P ${DB_PORT} -u "${DB_USER}" "-p${DB_PASSWORD}"" unset DB_PASSWORD +# Config : User +cat > ${LIBRENMS_PATH}/config.d/user.php < ${LIBRENMS_PATH}/config.d/fping.php < ${LIBRENMS_PATH}/config.d/directories.php <