VMware {code} Community
mldmld
Enthusiast
Enthusiast

Network configuration of Windows VM using unattended installation

Hi,

I'm writting some scripts to automate the installation of Windows 2012 and 2008R2 in VM using an unattended installation. My VM have 2 nics. Each nic in a different VLAN (one for backup, one for production).

But, using unattended installation, setup do not name the nic in the same order at each install.

So, as the nics are not in the same VLAN and Windows setup do not name the nic in the same order at each install, it seems impossible to personnalize an unattended file to specify a fixed IP Address of backup and production on one nic in each vlan.

Is there a way to dectect from the OS the "Network Adapter 1" and "Network Adapter 2" as listed in the settings of the VM ? Using the powercli is not convenient.

I tried under windows 2012 : get-netadapterhardwareinfo, but it does not help me.

The hosts run vpshere 5.0U1 and we plan to upgrade to 5.1U1 in the next couple of months

Thank you

Best regards

ML

Reply
0 Kudos
0 Replies