bridgehead/ccp/modules/nngm-setup.sh

10 lines
422 B
Bash
Raw Normal View History

2022-10-26 11:50:21 +02:00
#!/bin/bash
function nngmSetup() {
if [ -n "$NNGM_CTS_APIKEY" ]; then
log INFO "nNGM setup detected -- will start nNGM Connector."
2023-02-10 16:01:04 +01:00
OVERRIDE+=" -f ./$PROJECT/modules/nngm-compose.yml"
2022-10-26 11:50:21 +02:00
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)"
2022-10-26 11:50:21 +02:00
}