From: Ben Pfaff Date: Thu, 17 Sep 2009 16:26:55 +0000 (-0700) Subject: xenserver: Remove vswitch dbcache file during RPM uninstall. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1a328a65d0bb3fdad0aed346e48cc8b4c590f5f;p=openvswitch xenserver: Remove vswitch dbcache file during RPM uninstall. It's good to clean up. Ported from "citrix" to "master" branch with file name updated. CC: Keith Amidon CC: Henrik Amren --- diff --git a/xenserver/vswitch-xen.spec b/xenserver/vswitch-xen.spec index fc5d4fdb..bc9271d1 100644 --- a/xenserver/vswitch-xen.spec +++ b/xenserver/vswitch-xen.spec @@ -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"