geo-rep: Fix glusterd working directory
Mountbroker setup in geo-replication requires the script 'set_geo_rep_pem_keys.sh to be run manually out of gluster context. Hence the ${GLUSTERD_WORKDIR} is never set. So getting glusterd working dir using 'gluster system:: getwd'. Change-Id: Ic2fe85e685016b383e38af0ea43c3f0628c16a32 BUG: 1235292 Signed-off-by: Kotresh HR <khiremat@redhat.com> Reviewed-on: http://review.gluster.org/11381 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Aravinda VK <avishwan@redhat.com>
This commit is contained in:
parent
461c66eb6a
commit
9df8366174
@ -12,6 +12,7 @@ function main()
|
||||
user=$1
|
||||
master_vol=$2
|
||||
slave_vol=$3
|
||||
GLUSTERD_WORKDIR=$(gluster system:: getwd)
|
||||
|
||||
if [ "$user" == "" ]; then
|
||||
echo "Please enter the user's name"
|
||||
|
Loading…
x
Reference in New Issue
Block a user