purge repo file when unstacking

we remove the download.ceph.com repo during cleanup.

Change-Id: Ia2a62a6307b61623b72dbd7ee391d11cbd27f660
Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
Sébastien Han 2016-08-18 12:05:03 +02:00
parent fec528cdb0
commit eb7bfffd85
1 changed files with 3 additions and 0 deletions

View File

@ -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 {