Skip to content

Commit 4a5c4cb

Browse files
committed
[FAB-9553] Fix Vagrant runtime environment
Recent changes have broken runtime in Vagrant environments: 1) binaries directory has changed from /build/bin directory to /.build/bin directory 2) /fabric/sampleconfig directory no longer picked up by default, must specify FABRIC_CFG_PATH env variable. This change fixes Vagrant environment accordingly. Change-Id: I33f5261516694089a3190af6c3c10f54c3dd5685 Signed-off-by: David Enyeart <enyeart@us.ibm.com>
1 parent 66394e3 commit 4a5c4cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

devenv/setup.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ sudo cp /hyperledger/fabric/devenv/limits.conf /etc/security/limits.conf
121121
# Configure vagrant specific environment
122122
cat <<EOF >/etc/profile.d/vagrant-devenv.sh
123123
# Expose the devenv/tools in the $PATH
124-
export PATH=\$PATH:/hyperledger/fabric/devenv/tools:/hyperledger/fabric/build/bin
124+
export PATH=\$PATH:/hyperledger/fabric/devenv/tools:/hyperledger/fabric/.build/bin
125+
export FABRIC_CFG_PATH=/hyperledger/fabric/sampleconfig/
125126
export VAGRANT=1
126127
export CGO_CFLAGS=" "
127128
EOF

0 commit comments

Comments
 (0)