CustomizationLinuxPrep

CustomizationLinuxPrep
CustomizationLinuxPrep

This is the Linux counterpart to the Windows Sysprep object.

LinuxPrep contains machine-wide settings that identify a Linux machine in the same way that the Sysprep type identifies a Windows machine.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "hostName": {
        "_typeName": "string"
    },
    "domain": "string",
    "timeZone": "string",
    "hwClockUTC": false,
    "scriptText": "string"
}
hostName
Required

A base object type for a virtual machine name that can be either fixed or auto-generated.

string
domain
Required

The fully qualified domain name.

string
timeZone
Optional

The case-sensitive timezone, such as Europe/Sofia.

<a href="timezone.html"title="Display list of Valid timeZone values..."> Valid timeZone values are based on the tz (timezone) database used by Linux and other Unix systems. The values are strings (xsd:string) in the form "Area/Location," in which Area is a continent or ocean name, and Location is the city, island, or other regional designation.

See the <a href="https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2145518"target="_blank">List of supported time zones for different vSphere versions in Linux/Unix systems.

boolean
hwClockUTC
Optional

Specifies whether the hardware clock is in UTC or local time.

  • True when the hardware clock is in UTC.
  • False when the hardware clock is in local time.
string
scriptText
Optional

The script to run before and after GOS customization.