mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-26 03:25:09 +00:00
peer address export
environment variable should be exported to take effect i guess...
This commit is contained in:
parent
29ff95e2c6
commit
deea321aa2
1 changed files with 3 additions and 3 deletions
|
|
@ -113,7 +113,7 @@ function join_org_peers() {
|
|||
--tls --cafile /var/hyperledger/fabric/organizations/ordererOrganizations/org0.example.com/msp/tlscacerts/org0-tls-ca.pem
|
||||
|
||||
# Join peer1 to the channel.
|
||||
CORE_PEER_ADDRESS='${org}'-peer1:7051 \
|
||||
export CORE_PEER_ADDRESS='${org}'-peer1:7051
|
||||
peer channel \
|
||||
join \
|
||||
-b genesis_block.pb \
|
||||
|
|
@ -121,7 +121,7 @@ function join_org_peers() {
|
|||
--tls --cafile /var/hyperledger/fabric/organizations/ordererOrganizations/org0.example.com/msp/tlscacerts/org0-tls-ca.pem
|
||||
|
||||
# Join peer2 to the channel.
|
||||
CORE_PEER_ADDRESS='${org}'-peer2:7051 \
|
||||
export CORE_PEER_ADDRESS='${org}'-peer2:7051
|
||||
peer channel \
|
||||
join \
|
||||
-b genesis_block.pb \
|
||||
|
|
|
|||
Loading…
Reference in a new issue