-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathvariables.pkr.hcl
55 lines (55 loc) · 1.31 KB
/
variables.pkr.hcl
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
variable "vcenter_server" {
description = "vCenter server to build the VM on"
}
variable "vcenter_username" {
description = "Username to authenticate to vCenter"
}
variable "vcenter_password" {
description = "Password to authenticate to vCenter"
default = ""
}
variable "vcenter_cluster" {}
variable "vcenter_datacenter" {}
variable "vcenter_host" {}
variable "vcenter_datastore" {}
variable "vcenter_folder" {
description = "The vcenter folder to store the template"
}
variable "connection_username" {
default = "vagrant"
}
variable "connection_password" {
default = "vagrant"
}
variable "vm_hardware_version" {
default = "13"
}
variable "iso_checksum" {}
variable "os_version" {}
variable "os_iso_path" {}
variable "guest_os_type" {}
variable "root_disk_size" {
default = 48000
}
variable "nic_type" {
default = "vmxnet3"
}
variable "vm_network" { }
variable "num_cpu" {
default = 4
}
variable "num_cores" {
default = 1
}
variable "vm_ram" {
default = 4096
}
variable "os_family" {
description = "OS Family builds the paths needed for packer"
default = ""
}
variable "os_iso_url" {
description = "The download url for the ISO"
default = ""
}
variable "boot_command" {} #TODO: Figure out a better way to handle this