bridgehead/ccp/modules/nngm-setup.sh

8 lines
394 B
Bash
Raw Normal View History

2022-10-26 11:50:21 +02:00
#!/bin/bash
2023-02-14 10:20:19 +01:00
if [ -n "$NNGM_CTS_APIKEY" ]; then
log INFO "nNGM setup detected -- will start nNGM Connector."
OVERRIDE+=" -f ./$PROJECT/modules/nngm-compose.yml"
fi
CONNECTOR_POSTGRES_PASSWORD="$(echo \"This is a salt string to generate one consistent password. It is not required to be secret.\" | openssl rsautl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 30)"