Update README
This commit is contained in:
parent
4343ca292a
commit
44ce709581
28
README.md
28
README.md
|
@ -40,23 +40,19 @@ This a plugin for [HashiCorp Packer](https://www.packer.io/). It uses native vSp
|
||||||
```
|
```
|
||||||
|
|
||||||
## Parameters
|
## Parameters
|
||||||
### Required
|
|
||||||
* `vcenter_server` - vCenter server hostname.
|
Connection:
|
||||||
* `username` - vSphere username.
|
* `vcenter_server` - [**mandatory**] vCenter server hostname.
|
||||||
* `password` - vSphere password.
|
* `username` - [**mandatory**] vSphere username.
|
||||||
|
* `password` - [**mandatory**] vSphere password.
|
||||||
* `insecure_connection` - do not validate server's TLS certificate. `false` by default.
|
* `insecure_connection` - do not validate server's TLS certificate. `false` by default.
|
||||||
|
|
||||||
* `template` - name of source VM.
|
|
||||||
* `vm_name` - name of target VM.
|
|
||||||
|
|
||||||
* `host` - vSphere host where target VM is created.
|
|
||||||
* `ssh_username` - username in guest OS.
|
|
||||||
* `ssh_password` - password in guest OS.
|
|
||||||
|
|
||||||
### Optional
|
|
||||||
Destination:
|
|
||||||
* `datacenter` - required if there are several datacenters.
|
* `datacenter` - required if there are several datacenters.
|
||||||
|
|
||||||
|
Destination:
|
||||||
|
* `template` - [**mandatory**] name of source VM.
|
||||||
|
* `vm_name` - [**mandatory**] name of target VM.
|
||||||
* `folder` - VM folder where target VM is created.
|
* `folder` - VM folder where target VM is created.
|
||||||
|
* `host` - [**mandatory**] vSphere host where target VM is created.
|
||||||
* `resource_pool` - by default a root of vSphere host.
|
* `resource_pool` - by default a root of vSphere host.
|
||||||
* `datastore` - required if vSphere host has multiple datastores attached.
|
* `datastore` - required if vSphere host has multiple datastores attached.
|
||||||
* `linked_clone` - create VM as a linked clone from latest snapshot. `false` by default.
|
* `linked_clone` - create VM as a linked clone from latest snapshot. `false` by default.
|
||||||
|
@ -65,6 +61,10 @@ Hardware customization:
|
||||||
* `CPUs` - number of CPU sockets. Inherited from source VM by default.
|
* `CPUs` - number of CPU sockets. Inherited from source VM by default.
|
||||||
* `RAM` - Amount of RAM in megabytes. Inherited from source VM by default.
|
* `RAM` - Amount of RAM in megabytes. Inherited from source VM by default.
|
||||||
|
|
||||||
|
Provisioning:
|
||||||
|
* `ssh_username` - [**mandatory**] username in guest OS.
|
||||||
|
* `ssh_password` - [**mandatory**] password in guest OS.
|
||||||
|
|
||||||
Post-processing:
|
Post-processing:
|
||||||
* `shutdown_command` - VMware guest tools are used by default.
|
* `shutdown_command` - VMware guest tools are used by default.
|
||||||
* `shutdown_timeout` - [Duration](https://golang.org/pkg/time/#ParseDuration) how long to wait for a graceful shutdown. 5 minutes by default.
|
* `shutdown_timeout` - [Duration](https://golang.org/pkg/time/#ParseDuration) how long to wait for a graceful shutdown. 5 minutes by default.
|
||||||
|
|
Loading…
Reference in New Issue