What I have it do it pick a random name, often NICs aren't fully enabled at the end of mini-setup, many are, but not all.

Let mini-setup run through, join workgroup, and then have it restart with an autoadminlogon 1 time. The have it run whatever code to do an SQL query or ini read from a net share to get the name. It will need an account for net access and to join the domain.

There are a few scripts here already to rename and join domain
_________________________
How to ask questions the smart way <-----------> Before you ask