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

17 lines
863 B
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.
- `network_adapters` ([]NIC) - Network adapters
- `usb_controller` ([]string) - Create USB controllers for the virtual machine. "usb" for a usb 2.0 controller. "xhci" for a usb 3.0 controller. There can only be at most one of each.
- `notes` (string) - VM notes.