Commit f94f924c authored by Leigh B Stoller's avatar Leigh B Stoller

Ignore purge flag (delete image file) when a system image, until

we figure out what deletion with deltas means. Still a problem for
users, but at the moment we have not enabled provenance for mere

Aside: Need to change purge so that we delete all image files
(file for each version). Forgot to do that.
parent 5d77ed63
......@@ -137,6 +137,11 @@ if ($?) {
fatal("Could not kill running frisbee for $imageid!");
if ($purge && $image->pid() eq TBOPSPID()) {
$purge = 0;
print STDERR "Ignoring purge option for system image. \n";
# Since admins will often delete image descriptors for users, we are
# setuid root. Flip for deleting the image file.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment