25 lines
1.1 KiB
Plaintext
25 lines
1.1 KiB
Plaintext
<!-- Code generated from the comments of the ExportConfig struct in builder/vsphere/common/step_export.go; DO NOT EDIT MANUALLY -->
|
|
|
|
- `name` (string) - name of the ovf. defaults to the name of the VM
|
|
|
|
- `force` (bool) - overwrite ovf if it exists
|
|
|
|
- `images` (bool) - include iso and img image files that are attached to the VM
|
|
|
|
- `manifest` (string) - generate manifest using sha1, sha256, sha512. Defaults to 'sha256'. Use 'none' for no manifest.
|
|
|
|
- `options` ([]string) - Advanced ovf export options. Options can include:
|
|
* mac - MAC address is exported for all ethernet devices
|
|
* uuid - UUID is exported for all virtual machines
|
|
* extraconfig - all extra configuration options are exported for a virtual machine
|
|
* nodevicesubtypes - resource subtypes for CD/DVD drives, floppy drives, and serial and parallel ports are not exported
|
|
|
|
For example, adding the following export config option would output the mac addresses for all Ethernet devices in the ovf file:
|
|
|
|
```json
|
|
...
|
|
"export": {
|
|
"options": ["mac"]
|
|
},
|
|
```
|
|
|