public function RemoveServerSnapshot(Image $image)
{
if (!$image->getEnvironment()) {
return true;
}
$cs = $image->getEnvironment()->cloudstack($this->platform);
try {
$cs->template->delete($image->id, $image->cloudLocation);
} catch (Exception $e) {
throw $e;
}
return true;
}