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 *
env.user = 'ubuntu'
env.key_filename = 'pem/bigchain.pem'
env.key_filename = 'pem/bigchaindb.pem'
@task
def init_bigchaindb():

View File

@ -37,7 +37,7 @@ env.roledefs = {
}
env.roles = ["role1"]
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
# checking pem-file and changing access rights
if [ ! -f "pem/bigchain.pem" ]
if [ ! -f "pem/bigchaindb.pem" ]
then
echo "Valid key is missing!!!"
exit 1
fi
# 0400 for pem/bigchain.pem
chmod 0400 pem/bigchain.pem
# 0400 for pem/bigchaindb.pem
chmod 0400 pem/bigchaindb.pem
# starting and tagging instances
python3 run_and_tag.py --tag $TAG --nodes $NODES