Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
packer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
packer
Commits
6867c4f3
Commit
6867c4f3
authored
Nov 18, 2013
by
Mitchell Hashimoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
website: vsphere endpoint docs
parent
b96b2997
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
1 deletion
+50
-1
post-processor/vsphere/post-processor.go
post-processor/vsphere/post-processor.go
+1
-1
website/source/docs/post-processors/vsphere.html.markdown
website/source/docs/post-processors/vsphere.html.markdown
+48
-0
website/source/layouts/docs.erb
website/source/layouts/docs.erb
+1
-0
No files found.
post-processor/vsphere/post-processor.go
View file @
6867c4f3
...
...
@@ -20,12 +20,12 @@ type Config struct {
Datacenter
string
`mapstructure:"datacenter"`
Datastore
string
`mapstructure:"datastore"`
Host
string
`mapstructure:"host"`
VMNetwork
string
`mapstructure:"vm_network"`
Password
string
`mapstructure:"password"`
PathToResourcePool
string
`mapstructure:"path_to_resource_pool"`
Username
string
`mapstructure:"username"`
VMFolder
string
`mapstructure:"vm_folder"`
VMName
string
`mapstructure:"vm_name"`
VMNetwork
string
`mapstructure:"vm_network"`
}
type
PostProcessor
struct
{
...
...
website/source/docs/post-processors/vsphere.html.markdown
0 → 100644
View file @
6867c4f3
---
layout
:
"
docs"
page_title
:
"
vSphere
Post-Processor"
---
# vSphere Post-Processor
Type:
`vsphere-upload`
The vSphere post-processor takes an artifact from the VMware builder
and uploads it to a vSphere endpoint.
## Configuration
There are many configuration options available for the post-processor. They are
segmented below into two categories: required and optional parameters. Within
each category, the available configuration keys are alphabetized.
Required:
*
`datacenter`
(string) - The name of the datacenter within vSphere to
add the VM to.
*
`datastore`
(string) - The name of the datastore to store this VM.
*
`host`
(string) - The vSphere host that will be contacted to perform
the VM upload.
*
`password`
(string) - Password to use to authenticate to the vSphere
endpoint.
*
`path_to_resource_pool`
(string) - The path within the resource pool to
store the VM.
*
`username`
(string) - The username to use to authenticate to the vSphere
endpoint.
*
`vm_folder`
(string) - The folder within the datastore to store the VM.
*
`vm_name`
(string) - The name of the VM once it is uploaded.
*
`vm_network`
(string) - The name of the VM network this VM will be
added to.
Optional:
*
`insecure`
(bool) - Whether or not the connection to vSphere can be done
over an insecure connection. By default this is false.
website/source/layouts/docs.erb
View file @
6867c4f3
...
...
@@ -54,6 +54,7 @@
<ul>
<li><h4>
Post-Processors
</h4></li>
<li><a
href=
"/docs/post-processors/vagrant.html"
>
Vagrant
</a></li>
<li><a
href=
"/docs/post-processors/vsphere.html"
>
vSphere
</a></li>
</ul>
<ul>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment