packer-cn/website/pages/partials/builder/vsphere/iso/CreateConfig-not-required.mdx

33 lines
1.5 KiB
Plaintext

<!-- Code generated from the comments of the CreateConfig struct in builder/vsphere/iso/step_create.go; DO NOT EDIT MANUALLY -->
- `vm_version` (uint) - Set VM hardware version. Defaults to the most current VM hardware
version supported by vCenter. See
[VMWare article 1003746](https://kb.vmware.com/s/article/1003746) for
the full list of supported VM hardware versions.
- `guest_os_type` (string) - Set VM OS type. Defaults to `otherGuest`. See [
here](https://code.vmware.com/apis/358/vsphere/doc/vim.vm.GuestOsDescriptor.GuestOsIdentifier.html)
for a full list of possible values.
- `firmware` (string) - Set the Firmware at machine creation. Example `efi`. Defaults to `bios`.
- `disk_controller_type` (string) - Set VM disk controller type. Example `pvscsi`.
- `disk_size` (int64) - The size of the disk in MB.
- `disk_thin_provisioned` (bool) - Enable VMDK thin provisioning for VM. Defaults to `false`.
- `disk_eagerly_scrub` (bool) - Enable VMDK eager scrubbing for VM. Defaults to `false`.
- `storage` ([]DiskConfig) - A collection of one or more disks to be provisioned along with the VM.
- `network` (string) - Set network VM will be connected to.
- `network_card` (string) - Set VM network card type. Example `vmxnet3`.
- `network_adapters` ([]NIC) - Network adapters
- `usb_controller` (bool) - Create USB controller for virtual machine. Defaults to `false`.
- `notes` (string) - VM notes.