How to set guest OS at template clone for VMware?



I am using a PXE (Satellite 6) process for creating my VMs, but before that process kicks off CFME has to do the template clone. I have PXE for both RHEL 6 and RHEL 7. I don’t want to have to have two different templates in VMware for RHEL 6 and RHEL 7 just to be able to have the two different guest operating systems set on the template.

Is there a way to set the guest operating system during or just after the VMware template clone so I can set it based on the type of VM about to be PXE booted?