a3470f
From bfad2cafc9cbb58161386ee71dd086f01176558e Mon Sep 17 00:00:00 2001
a3470f
From: Jiffin Tony Thottan <jthottan@redhat.com>
a3470f
Date: Wed, 22 Feb 2017 14:37:04 +0530
a3470f
Subject: [PATCH 53/74] ganesha/scripts : Remove export entries from
a3470f
 ganesha.conf during cleanup
a3470f
a3470f
Change-Id: I288f7c9ced23d258a7ce1242d8efe03a4bf6f746
a3470f
Signed-off-by: Jiffin Tony Thottan <jthottan@redhat.com>
a3470f
Reviewed-on: https://review.gluster.org/16708
a3470f
Smoke: Gluster Build System <jenkins@build.gluster.org>
a3470f
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
a3470f
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
a3470f
Reviewed-by: soumya k <skoduri@redhat.com>
a3470f
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
a3470f
---
a3470f
 extras/ganesha/scripts/ganesha-ha.sh | 1 +
a3470f
 1 file changed, 1 insertion(+)
a3470f
a3470f
diff --git a/extras/ganesha/scripts/ganesha-ha.sh b/extras/ganesha/scripts/ganesha-ha.sh
a3470f
index d4844e4..2d6b06f 100644
a3470f
--- a/extras/ganesha/scripts/ganesha-ha.sh
a3470f
+++ b/extras/ganesha/scripts/ganesha-ha.sh
a3470f
@@ -342,6 +342,7 @@ cleanup_ganesha_config ()
a3470f
     rm -f /etc/corosync/corosync.conf
a3470f
     rm -rf /etc/cluster/cluster.conf*
a3470f
     rm -rf /var/lib/pacemaker/cib/*
a3470f
+    sed -r -i -e '/^%include[[:space:]]+".+\.conf"$/d'  $HA_CONFDIR/ganesha.conf
a3470f
 }
a3470f
 
a3470f
 do_create_virt_ip_constraints()
a3470f
-- 
a3470f
1.8.3.1
a3470f