Q. According to this KB http://kb.vmware.com/kb/1026326, Windows VMs in vCD need to be configured with DHCP to be able to join a domain. I have a VM with a static IP address. How do I get around this requirement?
A. The issue around DHCP is Microsoft-related and not VMware. The problem is that we rely on Sysprep to perform the customization and this is where the DHCP requirement comes in. As a workaround, we ran a script called SetupCommand.cmd which calls the netdom.exe command with the following syntax:
netdom.exe join %COMPUTERNAME% /Domain:vmware.com /OU:OU=vApp-VMs,DC=vmware,DC=com /Userd:???? /PasswordD:???? /Reboot
To configure this:
1. Before submitting the vApp to the catalog
2. Right click the VM and select ‘Properties’
A. The issue around DHCP is Microsoft-related and not VMware. The problem is that we rely on Sysprep to perform the customization and this is where the DHCP requirement comes in. As a workaround, we ran a script called SetupCommand.cmd which calls the netdom.exe command with the following syntax:
netdom.exe join %COMPUTERNAME% /Domain:vmware.com /OU:OU=vApp-VMs,DC=vmware,DC=com /Userd:???? /PasswordD:???? /Reboot
To configure this:
1. Before submitting the vApp to the catalog
2. Right click the VM and select ‘Properties’
4. Scroll down to the ‘Customization Script’ sections and enter your command:
No comments:
Post a Comment