From 183a694eeaacf1c3268c4e487731c4a7438132e0 Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Sun, 5 Aug 2007 18:36:56 +0000 Subject: [PATCH] Remove the cache so disk limit caches have no chance of being reused if the same guest is recreated at a later point in time. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2577 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- scripts/vserver.delete | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/vserver.delete b/scripts/vserver.delete index 3151ef8..09467ca 100644 --- a/scripts/vserver.delete +++ b/scripts/vserver.delete @@ -31,4 +31,5 @@ isVserverRunning "$VSERVER_DIR" && base.init pkgmgmt.initVariables -rm -rf "`$_VSERVER_INFO "$vserver" VDIR 1`" "$VSERVER_DIR" "$PKGCFGDIR" +$_RM -rf "`$_VSERVER_INFO "$vserver" VDIR 1`" "$VSERVER_DIR" "$PKGCFGDIR" \ + "`$_READLINK "$VSERVER_DIR/cache"`" -- 1.8.1.5