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.
{
"_typeName": "string",
"hostName": {
"_typeName": "string"
},
"domain": "string",
"timeZone": "string",
"hwClockUTC": false,
"scriptText": "string",
"compatibleCustomizationMethod": "string"
}
A base object type for a virtual machine name that can be either fixed or auto-generated.
The fully qualified domain name.
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.
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.
The script to run before and after GOS customization.
The compatible customization method is an identifier of a customization strategy which is implementable in a group of Linux operating systems.
This value does not need to be set if your operating system is officially supported by VMware guest operating system customization. When using a Linux operating system which hasn't been officially supported and it is designed to be 100% bug-for-bug compatible with an officially supported Linux operating system, it can be customized by an existing customization method.
Please set the compatible customization method to a supported string value e.g. "GOSC_METHOD_1".
See <a href="https://kb.vmware.com/s/article/95903"target="_blank">Supported compatible customization method list.
Since: vSphere API Release 8.0.3.0