From 45f5d848f5216f4ef8e4bcc4309cbe804c8b8526 Mon Sep 17 00:00:00 2001 From: Jiffin Tony Thottan Date: Wed, 22 Feb 2017 14:37:04 +0530 Subject: [PATCH 401/406] ganesha/scripts : Remove export entries from ganesha.conf during cleanup Upstream reference : >Change-Id: I288f7c9ced23d258a7ce1242d8efe03a4bf6f746 >BUG: 1425726 >Signed-off-by: Jiffin Tony Thottan >Reviewed-on: https://review.gluster.org/16708 >Smoke: Gluster Build System >NetBSD-regression: NetBSD Build System >CentOS-regression: Gluster Build System >Reviewed-by: soumya k >Reviewed-by: Kaleb KEITHLEY >Signed-off-by: Jiffin Tony Thottan Change-Id: I288f7c9ced23d258a7ce1242d8efe03a4bf6f746 BUG: 1426523 Signed-off-by: Jiffin Tony Thottan Reviewed-on: https://code.engineering.redhat.com/gerrit/104154 Reviewed-by: Atin Mukherjee --- extras/ganesha/scripts/ganesha-ha.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/extras/ganesha/scripts/ganesha-ha.sh b/extras/ganesha/scripts/ganesha-ha.sh index 0a15f1f..473c628 100644 --- a/extras/ganesha/scripts/ganesha-ha.sh +++ b/extras/ganesha/scripts/ganesha-ha.sh @@ -323,6 +323,7 @@ cleanup_ganesha_config () rm -f /etc/corosync/corosync.conf rm -rf /etc/cluster/cluster.conf* rm -rf /var/lib/pacemaker/cib/* + sed -r -i -e '/^%include[[:space:]]+".+\.conf"$/d' $HA_CONFDIR/ganesha.conf } do_create_virt_ip_constraints() -- 1.8.3.1