packer-cn/website/pages/partials/builder/vsphere/common/LocationConfig-not-required.mdx
2020-10-09 14:01:21 -07:00

25 lines
1.1 KiB
Plaintext

<!-- Code generated from the comments of the LocationConfig struct in builder/vsphere/common/config_location.go; DO NOT EDIT MANUALLY -->
- `vm_name` (string) - Name of the new VM to create.
- `folder` (string) - VM folder to create the VM in.
- `cluster` (string) - ESXi cluster where target VM is created. See the
[Working With Clusters And Hosts](#working-with-clusters-and-hosts)
section above for more details.
- `host` (string) - ESXi host where target VM is created. A full path must be specified if
the host is in a folder. For example `folder/host`. See the
[Working With Clusters And Hosts](#working-with-clusters-and-hosts)
section above for more details.
- `resource_pool` (string) - VMWare resource pool. If not set, it will look for the root resource
pool of the `host` or `cluster`. If a root resource is not found, it
will then look for a default resource pool.
- `datastore` (string) - VMWare datastore. Required if `host` is a cluster, or if `host` has
multiple datastores.
- `set_host_for_datastore_uploads` (bool) - Set this to true if packer should the host for uploading files
to the datastore. Defaults to false.