Docs: Try and clarify export and export related opts only work with ESXi

This commit is contained in:
DanHam 2018-07-02 18:08:55 +01:00
parent 66f9b64ff1
commit 71f6494569
No known key found for this signature in database
GPG Key ID: 58E79AEDD6AA987E
1 changed files with 13 additions and 3 deletions

View File

@ -332,8 +332,13 @@ builder.
using this configuration value. Defaults to `false`.
- `skip_export` (boolean) - Defaults to `false`. When enabled, Packer will
not export the VM. Useful if the build output is not the resultant image,
but created inside the VM.
not export the VM. Useful if the build output is not the resultant
image, but created inside the VM.
Currently, exporting the build VM is only supported when building on
ESXi e.g. when `remote_type` is set to `esx5`. See the [Building on a
Remote vSphere
Hypervisor](/docs/builders/vmware-iso.html#building-on-a-remote-vsphere-hypervisor)
section below for more info.
- `keep_registered` (boolean) - Set this to `true` if you would like to keep
the VM registered with the remote ESXi server. This is convenient if you
@ -345,6 +350,11 @@ builder.
during export. Each item in the array is a new argument. The options
`--noSSLVerify`, `--skipManifestCheck`, and `--targetType` are reserved,
and should not be passed to this argument.
Currently, exporting the build VM (with ovftool) is only supported when
building on ESXi e.g. when `remote_type` is set to `esx5`. See the
[Building on a Remote vSphere
Hypervisor](/docs/builders/vmware-iso.html#building-on-a-remote-vsphere-hypervisor)
section below for more info.
- `sound` (boolean) - Enable VMware's virtual soundcard device for the VM.
@ -539,7 +549,7 @@ modify as well:
- `format` (string) - Either "ovf", "ova" or "vmx", this specifies the output
format of the exported virtual machine. This defaults to "ovf".
Before using this option, you need to install `ovftool`. This option
works currently only with option remote_type set to "esx5".
currently only works when option remote_type is set to "esx5".
Since ovftool is only capable of password based authentication
`remote_password` must be set when exporting the VM.