tool and template to rebuild vmware image

The problem with errexit here is that you're not specifying where in the process things failed. It'd be very useful if that was actually done here. Can this be cleaned up to run these commands and when they fail, explain that this is what failed.