From 47c9c0a0b82a87cb6042b21c8b0e39df3c33ad90 Mon Sep 17 00:00:00 2001 From: miljenko Date: Wed, 14 May 2008 13:53:23 +0000 Subject: [PATCH] Simple shell script to cleanup all vimages (hierarchical vimages are not supported) Bug found by: Submitted by: Reviewed by: Approved by: Obtained from: --- cleanupAll | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 cleanupAll diff --git a/cleanupAll b/cleanupAll new file mode 100755 index 0000000..b447ac8 --- /dev/null +++ b/cleanupAll @@ -0,0 +1,12 @@ +#! /bin/sh + +##### +# Vimage cleanup - "flat", no hierarchical vimages +## + +eids=`vimage -l | grep -v "^ " | tr -d ':"' | grep -v '^\.$'` + +for e in $eids; do + imunes -b -e $e +done + -- 2.39.5