mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 07:25:10 +00:00
The basic-network sample consists of a initialization script which removes any content inside the hfc-key-store and later copies the content from creds to the keystore. However this creds directory doesnot exist or is ever created in the sample execution. Change-Id: Ia3d07ad78875328f6798290d3f0ab3098b9e85fc Signed-off-by: Sudheesh Singanamalla <sudheesh95@gmail.com>
14 lines
277 B
Bash
Executable file
14 lines
277 B
Bash
Executable file
#!/bin/bash
|
|
#
|
|
# Copyright IBM Corp All Rights Reserved
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
# Exit on first error, print all commands.
|
|
set -ev
|
|
# delete previous creds
|
|
rm -rf ~/.hfc-key-store/*
|
|
|
|
# copy peer admin credentials into the keyValStore
|
|
mkdir -p ~/.hfc-key-store
|