I have encountered a peculiar issue on PXE provisioning using VMware template. I have created a VMware template (A) which I had defined Network adapter 1 with Network label, say “NW_A”. I then cloned that VM template to create another VM template (B) but changed the Network label to “NW_B”.
I then created different service catalogs that linked to VMware template A and B separately. For some reasons, I am creating those to interface with different PXE servers and the different network port groups (i.e. NW_A and NW_B) were used for acquiring IP addresses from two different DHCP servers.
However, VMs that provisioned with template B always associated to NW_A instead of NW_B. When I looked into miq_request_tasks table, I could see that ":src_vm_lans"did contain “NW_B”.
I am also confused with the relationship between miq_requests and miq_request_tasks. When I looked into miq_requests table, it seemed to me that I only see that ":src_vm_lans"only contains “NW_A”.
I would appreciate if someone can shed some light into those. Thanks.