github.com/kikitux/packer@v0.10.1-0.20160322154024-6237df566f9f/website/source/docs/post-processors/vsphere.html.md (about)

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