Here are my run option.
template2vm.pl --server dev-vcenter1.company.com --credstore ~/.vmware/credstore/vicredentials.xml --sourcevm surg649t --dnsdomain company.com --gateway <ip address> --dnsservers <ip address> --netmask 255.255.255.0 --vmhost sesxdp04.company.com --ipaddress <ip address> --vmname surg649_new --datastore pdvnx_pool01_LUN_91 --resourcepool private-cloud
Presently i am trying this for linux but later we need to do this for windows as well, so you can assume its for both. Do you see anything missing or script requires any changes. got stuck ....please help