Refactor vmware vm creation.