diff --git a/scripts/containers/deploy.sh b/scripts/containers/deploy.sh index d30cce16..7bc57c76 100644 --- a/scripts/containers/deploy.sh +++ b/scripts/containers/deploy.sh @@ -133,23 +133,23 @@ EOF echo "> Checking if Orchestra is serving on https://${ip_addr}/admin/ ..." if [[ $noinput == '--noinput' ]]; then echo -e " - username: $user" - echo -e " - password: orchestra" + echo -e " - password: orchestra${normal}" fi - if [[ $(curl -L -k -v -c /tmp/cookies.txt -b /tmp/cookies.txt https://$ip_addr/admin/ | grep 'Panel Hosting Management') ]]; then + if [[ $(curl -L -k -c /tmp/cookies.txt -b /tmp/cookies.txt https://$ip_addr/admin/ | grep 'Panel Hosting Management') ]]; then token=$(grep csrftoken /tmp/cookies.txt | awk {'print $7'}) - if [[ $(curl -L -k -v -c /tmp/cookies.txt -b /tmp/cookies.txt \ + if [[ $(curl -L -k -c /tmp/cookies.txt -b /tmp/cookies.txt \ -d "username=$user&password=orchestra&csrfmiddlewaretoken=$token" \ -e https://$ip_addr/admin/ \ https://$ip_addr/admin/login/?next=/admin/ | grep '