From c67519e45ddd2b741a48a2a215e93d6c7c804401 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karri=20Niemel=C3=A4?= Date: Sun, 15 Jan 2017 19:44:46 +0200 Subject: [PATCH] Update amazon linux bootstrap.sh Changed this so it works with recent redash version. --- setup/amazon_linux/bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/amazon_linux/bootstrap.sh b/setup/amazon_linux/bootstrap.sh index 2505b25ca5..500475b44d 100755 --- a/setup/amazon_linux/bootstrap.sh +++ b/setup/amazon_linux/bootstrap.sh @@ -180,7 +180,7 @@ if [ $pg_user_exists -ne 0 ]; then sudo -u redash psql -c "grant select on events, queries, dashboards, widgets, visualizations, query_results to redash_reader;" redash cd /opt/redash/current - sudo -u redash bin/run ./manage.py ds new -n "Redash Metadata" -t "pg" -o "{\"user\": \"redash_reader\", \"password\": \"$REDASH_READER_PASSWORD\", \"host\": \"localhost\", \"dbname\": \"redash\"}" + sudo -u redash bin/run ./manage.py ds new "Redash Metadata" --type "pg" --options "{\"user\": \"redash_reader\", \"password\": \"$REDASH_READER_PASSWORD\", \"host\": \"localhost\", \"dbname\": \"redash\"}" fi