# 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!"
exit1
fi
if[ -z "${DNPM_DATA_DIR+x}"];then
log ERROR "Mandatory variable DNPM_DATA_DIR not defined!"