Remove unnecessary docker run

This commit is contained in:
Martin Lablans 2022-11-03 17:26:29 +01:00
parent 6394e1fa82
commit a9864a928c
1 changed files with 0 additions and 1 deletions

View File

@ -39,7 +39,6 @@ if [ -z "$LDM_LOGIN" ]; then
generated_passwd="$(cat /proc/sys/kernel/random/uuid | sed 's/[-]//g' | head -c 20)"
log "INFO" "Your generated credentials are:\n user: $PROJECT\n password: $generated_passwd"
parsed_passwd=$(docker run --rm -it httpd:latest htpasswd -nb $PROJECT $generated_passwd | tr -d '\n' | tr -d '\r')
echo -e "## Local Data Management Basic Authentication\n# User: $PROJECT\nLDM_PASSWORD=$generated_passwd" >> /etc/bridgehead/${PROJECT}.local.conf;
fi