-
Notifications
You must be signed in to change notification settings - Fork 21
/
vsphere.j2
26 lines (26 loc) · 867 Bytes
/
vsphere.j2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
{# vCenter server IP or FQDN #}
"vcenter_server":"",
{# vCenter username #}
"username":"",
{# vCenter user password #}
"password":"",
{# Datacenter name where packer creates the VM for customization #}
"datacenter":"",
{# Datastore name for the VM #}
"datastore":"",
{# [Optional] Folder name #}
"folder":"",
{# Cluster name where packer creates the VM for customization #}
"cluster": "",
{# Packer VM network #}
"network": "VM Network",
{# To use insecure connection with vCenter #}
"insecure_connection": "true",
{# TO create a clone of the Packer VM after customization#}
"linked_clone": "true",
{# To create a snapshot of the Packer VM after customization #}
"create_snapshot": "true",
{# To destroy Packer VM after Image Build is completed #}
"destroy": "true"
}