Add DNPM Node feature to minimal

This commit is contained in:
Tobias Kussel
2023-12-15 09:24:06 +00:00
parent 2252504d78
commit 459fa7f78e
4 changed files with 62 additions and 4 deletions

View File

@ -5,6 +5,7 @@ if [ -n "${ENABLE_DNPM_NODE}" ]; then
OVERRIDE+=" -f ./$PROJECT/modules/dnpm-node-compose.yml"
# Set variables required for BwHC Node. ZPM_SITE is assumed to be set in /etc/bridgehead/<project>.conf
DNPM_APPLICATION_SECRET="$(echo \"This is a salt string to generate one consistent password for DNPM. It is not required to be secret.\" | sha1sum | openssl pkeyutl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 30)"
if [ -z "${ZPM_SITE+x}" ]; then
log ERROR "Mandatory variable ZPM_SITE not defined!"
exit 1