Guest OS Customization in VCD failed because of duplicate DNS server settings
search cancel

Guest OS Customization in VCD failed because of duplicate DNS server settings

book

Article ID: 423049

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

In VCD, choose a VM ,then tries to change the password in guest OS with  "Guest OS Customization".   It fails.

And when the NIC is detached from this VM,  "Guest OS Customization"  can be completed successfully.

 

Environment

VCD 10.6.x

Cause

Check the log file:

    C:\Windows\Temp\vmware-imc\guestcust.log

   Found the following error: 

       netsh  interface ip add dns name="Ethernet0"  addr=#.#.#.#  index=2

      The object is already in the list.

 

During  Windows customization, it runs netsh command to add the   the secondary DNS server , when the IPv4 address of the second DNS server is the same value with the primary DNS server, the netsh command fails, and the customization fails.

Please note:

   In VCD organization network, same IP address can be configured both to primary DNS server and secondary DNS server. But this is not allowed in Windows .

Resolution

Edit the organization network in VCD, remove the duplicated IP address of secondary DNS: