From 7ade6e5f0574fd04e1ebd30069936e33e76ec2f1 Mon Sep 17 00:00:00 2001 From: Markus Zoeller Date: Fri, 1 Apr 2016 15:51:05 +0200 Subject: [PATCH] Add cleanup of package "software-properties-common" With commit d126b3f92e56 we added the pgk "software-properties-common" to allow the installation of the new repositories. This is a follow up patch which implements the cleanup of this package in case the devstack-plugin is used outside of a OpenStack testing job (for example a test VM of developer who doesn't throw away the VM immediately). Change-Id: I474341bbba567c8edb42b2b1bf760d09dfb9ddc5 --- devstack/lib/libvirt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/devstack/lib/libvirt b/devstack/lib/libvirt index 36af970..9f37bf4 100755 --- a/devstack/lib/libvirt +++ b/devstack/lib/libvirt @@ -51,6 +51,8 @@ function shutdown_libvirt_ubuntu { # Make sure we don't leave an almost certainly broken libvirt-python # installed sudo pip uninstall -y libvirt-python + # Remove the package we installed in "pre_install_libvirt_ubuntu" + sudo apt-get purge -y software-properties-common }