Remove fabric check in startup.sh

This commit is contained in:
troymc 2016-04-05 11:07:04 +02:00
parent acc22fd0b2
commit 8bcecc38ff

View File

@ -23,22 +23,8 @@ fi
TAG=$1 TAG=$1
NODES=$2 NODES=$2
FAB=`which fab`
# It seems BIGCHAINDIR was never used, but I wasn't sure # Check for AWS private key file (.pem file)
# so I just commented-out the following lines. -Troy
#DEPLOYDIR=`pwd`
#BIGCHAINDIR=`dirname $DEPLOYDIR`
#export BIGCHAINDIR
# Check if python-fabric is installed
if [ ! -f "$FAB" ]
then
echo "python-fabric is not installed"
exit 1
fi
# Check for AWS private key file pem-file and changing access rights
if [ ! -f "pem/bigchaindb.pem" ] if [ ! -f "pem/bigchaindb.pem" ]
then then
echo "File pem/bigchaindb.pem (AWS private key) is missing" echo "File pem/bigchaindb.pem (AWS private key) is missing"