xenserver: Remove vswitch dbcache file during RPM uninstall.
authorBen Pfaff <blp@nicira.com>
Wed, 16 Sep 2009 23:03:55 +0000 (16:03 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 16 Sep 2009 23:03:55 +0000 (16:03 -0700)
It's good to clean up.

CC: Keith Amidon <keith@nicira.com>
CC: Henrik Amren <henrik@nicira.com>
xenserver/vswitch-xen.spec

index a9c3402..b186e26 100644 (file)
@@ -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"