if all the package install stuff is in chef, this subtask is just creating and removing an image, so you can just use the existing rbd.create_image subtask instead