GuestWindowsSysprep

The WindowsSysprep structure provides all the settings like user details, administrator details, etc that need to applied for a windows guest operating system during customization.


Properties

domain Optional

Information needed to join a workgroup or domain. If unset, the guest will not be joined to any workgroup or a domain.


array of string
gui_run_once_commands Optional

A list of commands to run at first user logon, after customizing the guest. These commands are directly mapped to the GuiRunOnce key in the sysprep.xml answer file. These commands are transferred into the sysprep.xml file that VirtualCenter stores on the target virtual disk. For more information about performing unattended installation, check https://technet.microsoft.com/en-us/library/cc771830(v=ws.10).aspx The commands listed here ar executed when a user logs on the first time after customization completes. The logon may be driven by GuiUnattended.auto-logon setting. These commands are directly mapped to the GuiRunOnce key in the If unset, no commands are run.


gui_unattended Required

Information related to unattended installation.


user_data Required

Personal data pertaining to the owner of the virtual machine.

JSON Example

{
	"gui_unattended": {
		"auto_logon": false,
		"auto_logon_count": 0,
		"time_zone": 0
	},
	"user_data": {
		"computer_name": {
			"type": "FIXED"
		},
		"full_name": "string",
		"organization": "string",
		"product_key": "string"
	}
}

Feedback

Was this page helpful?