mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Change expected name of pem file to bigchaindb.pem
This commit is contained in:
parent
b149397974
commit
85580aba07
@ -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():
|
||||
|
2
deploy-cluster-aws/fabfile.py
vendored
2
deploy-cluster-aws/fabfile.py
vendored
@ -37,7 +37,7 @@ env.roledefs = {
|
||||
}
|
||||
env.roles = ["role1"]
|
||||
env.user = 'ubuntu'
|
||||
env.key_filename = 'pem/bigchain.pem'
|
||||
env.key_filename = 'pem/bigchaindb.pem'
|
||||
|
||||
|
||||
################################################################################
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user