233933
From 16d298584c70138fd639281bc900838d7938aec9 Mon Sep 17 00:00:00 2001
233933
From: Jiffin Tony Thottan <jthottan@redhat.com>
233933
Date: Wed, 22 Feb 2017 14:37:04 +0530
233933
Subject: [PATCH 057/124] ganesha/scripts : Remove export entries from
233933
 ganesha.conf during cleanup
233933
233933
Label: DOWNSTREAM ONLY
233933
233933
Change-Id: I288f7c9ced23d258a7ce1242d8efe03a4bf6f746
233933
Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
233933
Reviewed-on: https://review.gluster.org/16708
233933
Smoke: Gluster Build System <jenkins@build.gluster.org>
233933
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
233933
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
233933
Reviewed-by: soumya k <skoduri@redhat.com>
233933
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
233933
Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
233933
Reviewed-on: https://code.engineering.redhat.com/gerrit/167142
233933
Reviewed-by: Soumya Koduri <skoduri@redhat.com>
233933
Tested-by: RHGS Build Bot <nigelb@redhat.com>
233933
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
233933
---
233933
 extras/ganesha/scripts/ganesha-ha.sh | 1 +
233933
 1 file changed, 1 insertion(+)
233933
233933
diff --git a/extras/ganesha/scripts/ganesha-ha.sh b/extras/ganesha/scripts/ganesha-ha.sh
233933
index 4b93f95..7ba80b5 100644
233933
--- a/extras/ganesha/scripts/ganesha-ha.sh
233933
+++ b/extras/ganesha/scripts/ganesha-ha.sh
233933
@@ -342,6 +342,7 @@ cleanup_ganesha_config ()
233933
     rm -f /etc/corosync/corosync.conf
233933
     rm -rf /etc/cluster/cluster.conf*
233933
     rm -rf /var/lib/pacemaker/cib/*
233933
+    sed -r -i -e '/^%include[[:space:]]+".+\.conf"$/d'  $HA_CONFDIR/ganesha.conf
233933
 }
233933
 
233933
 do_create_virt_ip_constraints()
233933
-- 
233933
1.8.3.1
233933