[ovs-dev] [PATCH] xenserver: Remove vswitch dbcache file during RPM uninstall.

Ben Pfaff blp at nicira.com
Wed Sep 16 23:03:59 UTC 2009


It's good to clean up.

CC: Keith Amidon <keith at nicira.com>
CC: Henrik Amren <henrik at nicira.com>
---
 xenserver/vswitch-xen.spec |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/xenserver/vswitch-xen.spec b/xenserver/vswitch-xen.spec
index a9c3402..b186e26 100644
--- a/xenserver/vswitch-xen.spec
+++ b/xenserver/vswitch-xen.spec
@@ -309,6 +309,7 @@ if [ "$1" = "0" ]; then     # $1 = 1 for upgrade
     rm -f /etc/sysconfig/vswitch
     rm -f /var/log/vswitch*
     rm -f /etc/ovs-vswitchd.cacert
+    rm -f /etc/ovs-vswitch.dbcache
 
     printf "\nYou MUST reboot the server now to complete the change to\n"
     printf "standard Xen networking.  Attempts to modify networking on the\n"
-- 
1.6.3.3





More information about the dev mailing list