The port binding of the portgroups are configured as "Ephemeral - no binding". Now I've got the issue that if I deploy a new vm from a template the new vm has the network connect box unchecked when the customization has been done. So I cannot connect to the network and join the domain. I did exactly the same test with a portgroup configured as "Static binding" and then everything worked fine.
Is this a known problem that "Ephemeral" settings cannot be used with templates?