Implementation of a VM image generator based on Packer