Procedure
- Log in to the VMware vSphere Web Client(VWC) as someone with administrative privileges.
- Select Policies and Profiles from the Menu.
- Click on VM Customization Specifications.
The browser displays a page, similar to the following:
- Click the plus icon (highlighted in the preceding figure for emphasis).
The browser displays the New VM Guest Customization Spec wizard similar to the following:
- Select Windows as the Target guest OS (if not already selected).
- Enter a name for the customization specification in the Name field. VMware suggests choosing a name that makes it easy for the LaMa Administrator to identify the contents of the customization specification. The Description field should contain a brief description of the customization specification.
- Click Next.
The browser displays the Registration information dialog of the wizard similar to the following:
- Type the virtual machine's Owner name and Owner organization. Then click Next.
The browser displays the Computer name section of the wizard similar to the following:
- Choose Use the virtual machine name and click Next.
The browser displays the Windows license section of the wizard similar to the following:
- Provide licensing information for the Windows Operating System and click Next.
The browser displays the Administrator password section of the wizard similar to the following:
- Configure the administrator password for the virtual machine. Confirm the password and click Next.
The browser displays the Time zone section of the wizard similar to the following:
- Select the time zone for the virtual machine and click Next.
The browser displays the Commands to run once section of the wizard similar to the following:
- (Optional) Specify commands to run the first time a user logs into the guest operating system. See the Microsoft Sysprep documentation for information about Run Once commands.
- Click Next.
The browser now displays the Network dialog of the wizard. It allows to configure every network interface of the customization specification. By default, wizard defines one network interface, called NIC1, that use DHCP to get IP parameters.
- (Optional) Edit an existing network interface, including IP parameters:
- Select Manually select custom settings radio button.
- Select the network interface to edit.
- Click the three dots icon (highlighted in the preceding figure for emphasis) and select Edit. The Wizard browser displays the Edit Network page, similar to the following:
- Choose IPv4 (if not already selected).
- Choose the method vCenter Server uses to assign the IP address to this network interface (one of the following):
- Use DHCP to obtain an IPv4 address automatically
- Prompt the user for an IPv4 address when the specification is used
- Use custom settings - Static IP settings. Enter appropriate values.
- Choose DNS.
- Enter the DNS servers that the virtual machine should use.
- Click OK.
- (Optional) Add a network interface by clicking the ADD icon. VMware recommends creating a Guest Customization Spec per each permutation of number of NICs and the IP configuration (DHCP, Static IP, and Prompt for IP) that may be needed for your environment. Edit new network interface using the previous step.
Note: Currently LaMa has a limitation that the customization specification used for SAP system cloning operation should have not more than two network interfaces. Not following this limitation results in a LaMa execution error.
- (Optional) Delete network interface:
- Select Manually select custom settings radio button.
- Select the interface to delete
- Click the three dots icon (highlighted in the preceding figure for emphasis) and select Delete
- Click Next.
The browser displays the Workgroup or domain section of the wizard similar to the following:
- Enter the workgroup or the domain for the virtual machine. Click Next.
The browser displays the Ready to Complete section of the wizard similar to the following:
- Click Finish to create the customization specification.
The new customization specification is now listed in the VM Customization Specifications list.
Results
This customization specification can now be used to customize virtual machine guest operating systems.