github.com/aspring/packer@v0.8.1-0.20150629211158-9db281ac0f89/website/source/docs/post-processors/vsphere.html.markdown (about)

     1  ---
     2  layout: "docs"
     3  page_title: "vSphere Post-Processor"
     4  description: |-
     5    The Packer vSphere post-processor takes an artifact from the VMware builder and uploads it to a vSphere endpoint.
     6  ---
     7  
     8  # vSphere Post-Processor
     9  
    10  Type: `vsphere`
    11  
    12  The Packer vSphere post-processor takes an artifact from the VMware builder
    13  and uploads it to a vSphere endpoint.
    14  
    15  ## Configuration
    16  
    17  There are many configuration options available for the post-processor. They are
    18  segmented below into two categories: required and optional parameters. Within
    19  each category, the available configuration keys are alphabetized.
    20  
    21  Required:
    22  
    23  * `cluster` (string) - The cluster to upload the VM to.
    24  
    25  * `datacenter` (string) - The name of the datacenter within vSphere to
    26    add the VM to.
    27  
    28  * `datastore` (string) - The name of the datastore to store this VM.
    29    This is _not required_ if `resource_pool` is specified.
    30  
    31  * `host` (string) - The vSphere host that will be contacted to perform
    32    the VM upload.
    33  
    34  * `password` (string) - Password to use to authenticate to the vSphere
    35    endpoint.
    36  
    37  * `resource_pool` (string) - The resource pool to upload the VM to.
    38    This is _not required_.
    39  
    40  * `username` (string) - The username to use to authenticate to the vSphere
    41    endpoint.
    42  
    43  * `vm_name` (string) - The name of the VM once it is uploaded.
    44  
    45  Optional:
    46  
    47  * `disk_mode` (string) - Target disk format. See `ovftool` manual for
    48    available options. By default, "thick" will be used.
    49  
    50  * `insecure` (boolean) - Whether or not the connection to vSphere can be done
    51    over an insecure connection. By default this is false.
    52  
    53  * `vm_folder` (string) - The folder within the datastore to store the VM.
    54  
    55  * `vm_network` (string) - The name of the VM network this VM will be
    56    added to.