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

Ported from "citrix" to "master" branch with file name updated.

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

index fc5d4fdb1c0d579cfaaafc5796130198ffbfd6e3..bc9271d19af9f1ac5328c6d23016f5baccefb25f 100644 (file)
@@ -285,6 +285,7 @@ if [ "$1" = "0" ]; then     # $1 = 1 for upgrade
     rm -f /etc/ovs-vswitchd.conf
     rm -f /etc/sysconfig/vswitch
     rm -f /etc/ovs-vswitchd.cacert
+    rm -f /var/lib/openvswitch/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"