diff --git a/50-pandora.sh b/50-pandora.sh index b071f97..27c6b3c 100755 --- a/50-pandora.sh +++ b/50-pandora.sh @@ -34,7 +34,7 @@ sudo -u postgres psql -f /tmp/pandora-createdb.sql rm -f /tmp/pandora-createdb.sql # Configure RabbitMQ -export PANDORA_RABBIT_PWD=$(head -c 18 /dev/urandom | base64) +export PANDORA_RABBIT_PWD=$(head -c 18 /dev/urandom | base64 | tr -d "/") export PANDORA_BROKER_URL="amqp://pandora:${PANDORA_RABBIT_PWD}@localhost:5672//pandora" rabbitmqctl add_user pandora ${PANDORA_RABBIT_PWD} rabbitmqctl add_vhost /pandora