How to create templte on harvester

Looking for working example on how to build template on harvester HCI using packer if possible.