tool and template to rebuild vmware image

You should be able to append that to the template.