In the process of deploying a new virtual machine from a template or cloning an existing virtual machine, you can customize Linux guest operating systems for the virtual machine.

Ensure that all requirements for customization are met. See Guest Operating System Customization Requirements.

To perform this procedure, launch the Customization wizard when cloning a virtual machine or deploying from a template. See Clone a Virtual Machine or Deploy a Virtual Machine from a Template.

1

Specify how to determine the host name to identify the guest operating system on the network.

Option

Description

Use a specific name

a

Type a name.

The name can contain alphanumeric characters and the hyphen (-) character. It cannot contain periods (.) or blank spaces and cannot be made up of digits only. Names are case-insensitive.

b

(Optional) To ensure that the name is unique, select Append a numeric value to ensure uniqueness. This appends a hyphen followed by a numeric value to the virtual machine name.

Use the virtual machine’s name

The computer name that vCenter Server creates is identical to the name of the virtual machine on which the guest operating system is running.

Prompt the user for a name in the Deploy wizard

The vSphere Client prompts you to enter a name after the cloning or deployment is complete.

Use a custom application configured with vCenter Server to generate a name

Enter a parameter that can be passed to the custom application.

2

Enter the Domain Name for the computer and click Next.

3

Select the time zone for the virtual machine and click Next.

4

Select the type of network settings to apply to the guest operating system.

Option

Description

Typical settings

Select Typical settings and click Next.

vCenter Server configures all network interfaces from a DHCP server using default settings.

Custom settings

a

Select Custom settings and click Next.

b

For each network interface in the virtual machine, click ....

c

Enter IP address and other network settings and click OK.

d

When all network interfaces are configured, click Next.

5

Enter DNS and domain settings.

6

(Optional) Save the customized options as an .xml file:

a

Select Save this customization specification for later use.

b

Specify the filename for the specification and click Next.

7

Click Finish to save your changes.

You return to the Deploy Template or Clone Virtual Machine wizard. The customization is carried out after you complete the Deploy Template or Clone Virtual Machine wizard.

When the new virtual machine boots for the first time, the guest operating system runs finalization scripts to complete the customization process. The virtual machine might reboot a number of times during this process.

If the guest operating system pauses when the new virtual machine boots, it might be waiting for you to correct errors, such as an incorrect product key or invalid user name. Open the virtual machine’s console to determine whether the system is waiting for information.

If the new virtual machine encounters customization errors while it is booting, the errors are reported using the guest’s system logging mechanism. View the errors by opening /var/log/vmware-imc/toolsDeployPkg.log.