From 2779d8d099c2af4e3ece27c7c713ef5163078c3a Mon Sep 17 00:00:00 2001 From: j Date: Sat, 19 Sep 2020 14:49:44 +0200 Subject: [PATCH] change password in case user already existed --- vm/pandora_install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/vm/pandora_install.sh b/vm/pandora_install.sh index 6f9d66d6..dba5cb98 100755 --- a/vm/pandora_install.sh +++ b/vm/pandora_install.sh @@ -118,6 +118,7 @@ fi if [ "$RABBITMQ" == "local" ]; then RABBITPWD=$(pwgen -n 16 -1) rabbitmqctl add_user pandora $RABBITPWD + rabbitmqctl change_password pandora $RABBITPWD rabbitmqctl add_vhost /pandora rabbitmqctl set_permissions -p /pandora pandora ".*" ".*" ".*" CELERY_BROKER_URL="amqp://pandora:$RABBITPWD@localhost:5672//pandora"