Change expected name of pem file to bigchaindb.pem

This commit is contained in:
troymc 2016-03-23 17:53:53 +01:00
parent b149397974
commit 85580aba07
3 changed files with 5 additions and 5 deletions

View File

@ -21,7 +21,7 @@ from fabric.decorators import roles
from fabtools import * from fabtools import *
env.user = 'ubuntu' env.user = 'ubuntu'
env.key_filename = 'pem/bigchain.pem' env.key_filename = 'pem/bigchaindb.pem'
@task @task
def init_bigchaindb(): def init_bigchaindb():

View File

@ -37,7 +37,7 @@ env.roledefs = {
} }
env.roles = ["role1"] env.roles = ["role1"]
env.user = 'ubuntu' env.user = 'ubuntu'
env.key_filename = 'pem/bigchain.pem' env.key_filename = 'pem/bigchaindb.pem'
################################################################################ ################################################################################

View File

@ -43,13 +43,13 @@ if [ ! -f "$FAB" ]
fi fi
# checking pem-file and changing access rights # checking pem-file and changing access rights
if [ ! -f "pem/bigchain.pem" ] if [ ! -f "pem/bigchaindb.pem" ]
then then
echo "Valid key is missing!!!" echo "Valid key is missing!!!"
exit 1 exit 1
fi fi
# 0400 for pem/bigchain.pem # 0400 for pem/bigchaindb.pem
chmod 0400 pem/bigchain.pem chmod 0400 pem/bigchaindb.pem
# starting and tagging instances # starting and tagging instances
python3 run_and_tag.py --tag $TAG --nodes $NODES python3 run_and_tag.py --tag $TAG --nodes $NODES