Image hook should not be executed in deleted images
|Category:||Core & System|
The image hook is executed each time a VirtualMachine gets into DONE state.
It should not be executed in deleted images.
Adding a new REASON depending on the command that gets the VM into DONE could be a solution.
#2 Updated by Carsten Friedrich almost 8 years ago
If "saveas" is no longer done on "delete" there must be another fail-save way to get "saveas" executed from any state a VM can get into after issuing "saveas". I think currently "delete" is the only command that forces a VM into the "done" state from any possible state.