vcenter guest: gui unattended
The
gui_unattended
structure maps to the GuiUnattended key in the sysprep.xml answer file. These values are plugged directly into the sysprep.xml file that VirtualCenter stores on the target virtual disk. For more detailed information about performing unattended installations, check https://technet.microsoft.com/en-us/library/cc771830(v=ws.10).aspx. This structure was added in vSphere API 7.0.0.0.Representation:
{
"password" : "secret string",
"auto_logon_count" : 1,
"auto_logon" : true,
"time_zone" : 1
}
"password" : "secret string",
"auto_logon_count" : 1,
"auto_logon" : true,
"time_zone" : 1
}
Attributes:
Name | Type | Description |
---|---|---|
Required | ||
auto_logon | boolean | Flag to determine whether or not the machine automatically logs on as Administrator. See the vcenter.guest.gui_unattended.password property. If vcenter.guest.gui_unattended.auto_logon flag is set, then vcenter.guest.gui_unattended.password must not be unset or the guest customization will fail. This attribute was added in vSphere API 7.0.0.0. |
auto_logon_count | long | If the vcenter.guest.gui_unattended.auto_logon flag is set, then this property specifies the number of times the machine should automatically log on as Administrator. Generally it should be 1, but if the setup requires a number of reboots, you may want to increase it. This number may be determined by the list of commands. This attribute was added in vSphere API 7.0.0.0. |
time_zone | long | The time zone index for the virtual machine. Numbers correspond to time zones at https://support.microsoft.com/en-us/help/973627/microsoft-time-zone-index-values. This attribute was added in vSphere API 7.0.0.0. |
Optional | ||
password | secret | The new administrator password for the machine. To specify that the password should be set to blank (that is, no password), leave it unset. This attribute was added in vSphere API 7.0.0.0. Optional. If unset, blank password will be used. |