GuestConfigurationSpec

The ConfigurationSpec structure specifies the settings for customizing a guest operating system.


Properties

linux_config Optional

Guest customization specification for a linux guest operating system If unset, ConfigurationSpec.windows-config must be set. Otherwise, an appropriate fault will be thrown.


windows_config Optional

Guest customization specification for a Windows guest operating system If unset, ConfigurationSpec.linux-config must be set. Otherwise, an appropriate fault will be thrown.

JSON Example

{
	"linux_config": {
		"domain": "string",
		"hostname": {
			"fixed_name": "string",
			"prefix": "string",
			"type": "FIXED"
		},
		"script_text": "string",
		"time_zone": "string"
	},
	"windows_config": {
		"reboot": "REBOOT",
		"sysprep": {
			"domain": {
				"domain": "string",
				"domain_password": "string",
				"domain_username": "string",
				"type": "WORKGROUP",
				"workgroup": "string"
			},
			"gui_run_once_commands": [
				"string"
			],
			"gui_unattended": {
				"auto_logon": false,
				"auto_logon_count": 0,
				"password": "string",
				"time_zone": 0
			},
			"user_data": {
				"computer_name": {
					"fixed_name": "string",
					"prefix": "string",
					"type": "FIXED"
				},
				"full_name": "string",
				"organization": "string",
				"product_key": "string"
			}
		},
		"sysprep_xml": "string"
	}
}

Feedback

Was this page helpful?