feat: add Teiler and Exporter in BBMRI (#312)

Co-authored-by: Jan <59206115+Threated@users.noreply.github.com>
This commit is contained in:
djuarezgf
2025-06-05 16:55:03 +02:00
committed by GitHub
parent b7a42f3d3b
commit d482324361
13 changed files with 220 additions and 17 deletions

View File

@ -49,6 +49,12 @@ if [ -z "$TRANSFAIR_AUTH" ]; then
fi
fi
if [ -z "$EXPORTER_USER" ]; then
log "INFO" "Now generating basic auth for the exporter and reporter (see adduser in bridgehead for more information). "
generated_passwd="$(cat /proc/sys/kernel/random/uuid | sed 's/[-]//g' | head -c 32)"
add_basic_auth_user $PROJECT $generated_passwd "EXPORTER_USER" $PROJECT
fi
log "INFO" "Registering system units for bridgehead and bridgehead-update"
cp -v \
lib/systemd/bridgehead\@.service \