mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Modified awsdeploy.sh to use new --bind-http-to-localhost argument
This commit is contained in:
parent
bf2b322739
commit
cc282905dd
@ -44,7 +44,8 @@ echo "IMAGE_ID = "$IMAGE_ID
|
|||||||
echo "INSTANCE_TYPE = "$INSTANCE_TYPE
|
echo "INSTANCE_TYPE = "$INSTANCE_TYPE
|
||||||
echo "SECURITY_GROUP = "$SECURITY_GROUP
|
echo "SECURITY_GROUP = "$SECURITY_GROUP
|
||||||
echo "USING_EBS = "$USING_EBS
|
echo "USING_EBS = "$USING_EBS
|
||||||
if [ "$USING_EBS" = True ]; then
|
# Treat booleans as strings which must be either "True" or "False"
|
||||||
|
if [ "$USING_EBS" == "True" ]; then
|
||||||
echo "EBS_VOLUME_SIZE = "$EBS_VOLUME_SIZE
|
echo "EBS_VOLUME_SIZE = "$EBS_VOLUME_SIZE
|
||||||
echo "EBS_OPTIMIZED = "$EBS_OPTIMIZED
|
echo "EBS_OPTIMIZED = "$EBS_OPTIMIZED
|
||||||
fi
|
fi
|
||||||
@ -117,7 +118,11 @@ fab upgrade_setuptools
|
|||||||
|
|
||||||
if [ "$WHAT_TO_DEPLOY" == "servers" ]; then
|
if [ "$WHAT_TO_DEPLOY" == "servers" ]; then
|
||||||
# (Re)create the RethinkDB configuration file conf/rethinkdb.conf
|
# (Re)create the RethinkDB configuration file conf/rethinkdb.conf
|
||||||
python create_rethinkdb_conf.py --bind-http-to-localhost $BIND_HTTP_TO_LOCALHOST
|
if [ "$BIND_HTTP_TO_LOCALHOST" == "True" ]; then
|
||||||
|
python create_rethinkdb_conf.py --bind-http-to-localhost
|
||||||
|
else
|
||||||
|
python create_rethinkdb_conf.py
|
||||||
|
fi
|
||||||
# Rollout RethinkDB and start it
|
# Rollout RethinkDB and start it
|
||||||
fab prep_rethinkdb_storage:$USING_EBS
|
fab prep_rethinkdb_storage:$USING_EBS
|
||||||
fab install_rethinkdb
|
fab install_rethinkdb
|
||||||
|
Loading…
x
Reference in New Issue
Block a user