From d1a328a65d0bb3fdad0aed346e48cc8b4c590f5f Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 17 Sep 2009 09:26:55 -0700 Subject: [PATCH] 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 --- xenserver/vswitch-xen.spec | 1 + 1 file changed, 1 insertion(+) 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" -- 2.30.2