s
continuous-integration/drone/push Build is passing Details

This commit is contained in:
quackerd 2021-04-10 06:01:33 -04:00
parent 70855339c7
commit 00fec20a89
1 changed files with 1 additions and 1 deletions

2
run.sh
View File

@ -48,7 +48,7 @@ echo ""
echo "===== Downloading configuration file ====="
hash=$(echo -n "$FQDN.$SALT" | openssl dgst -md5 | sed -E 's/\(stdin\)= (.*)/\1/')
echo "Host hash is $hash"
wget http://$BUCKET_HASH.s3-website-us-west-1.amazonaws.com/config/$hash.conf -P /opt/
wget http://$BUCKET_HASH.s3-website-us-west-1.amazonaws.com/config/$hash.conf -O /opt/$hash.conf
openssl aes-256-cbc -d -md sha512 -pbkdf2 -in /opt/$hash.conf -out /opt/$FQDN.conf -k $KEY
echo ""