github.com/tonnydourado/packer@v0.6.1-0.20140701134019-5d0cd9676a37/website/source/docs/post-processors/vsphere.html.markdown (about)

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