From eb7bfffd851b39cf341ea22e45c234ed3fc66f89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Thu, 18 Aug 2016 12:05:03 +0200 Subject: [PATCH] purge repo file when unstacking MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit we remove the download.ceph.com repo during cleanup. Change-Id: Ia2a62a6307b61623b72dbd7ee391d11cbd27f660 Signed-off-by: Sébastien Han --- devstack/lib/ceph | 3 +++ 1 file changed, 3 insertions(+) diff --git a/devstack/lib/ceph b/devstack/lib/ceph index 8284b98..882cb85 100644 --- a/devstack/lib/ceph +++ b/devstack/lib/ceph @@ -278,6 +278,9 @@ function cleanup_ceph_embedded { # purge ceph config file and keys sudo rm -rf ${CEPH_CONF_DIR}/* + + # purge repo + sudo apt-add-repository --remove "$APT_REPOSITORY_ENTRY" } function cleanup_ceph_general {