-
Notifications
You must be signed in to change notification settings - Fork 51
Expand file tree
/
Copy pathvariables.pkr.hcl
More file actions
74 lines (62 loc) · 1.9 KB
/
Copy pathvariables.pkr.hcl
File metadata and controls
74 lines (62 loc) · 1.9 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# © Broadcom. All Rights Reserved.
# The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
# SPDX-License-Identifier: MPL-2.0
variable "vm_name" {
description = "The name of the virtual machine."
type = string
}
variable "headless" {
description = "Option to run the virtual machine without the hypervisor GUI console."
type = bool
default = false
}
variable "ssh_username" {
description = "The username for connecting to the virtual machine."
type = string
default = "packer"
}
variable "ssh_password" {
description = "The password for connecting to the virtual machine."
type = string
default = "packer"
sensitive = true
}
variable "ssh_timeout" {
description = "The maximum time to wait for SSH to become available on the guest operating system."
type = string
default = "20m"
}
variable "source_path" {
description = "The path to the source VMX, OVF, or OVA file to clone."
type = string
}
variable "guest_os_type" {
description = "The guest operating system type identifier for the virtual machine."
type = string
default = "debian-64"
}
variable "version" {
description = "The virtual machine hardware version. Only used when cloning from OVF/OVA. Default is 21. Minimum is 19."
type = number
default = 21
}
variable "linked" {
description = "Create a linked clone instead of a full clone."
type = bool
default = false
}
variable "vmx_data" {
description = "The additional data to add to the virtual machine configuration file."
type = map(string)
default = {}
}
variable "skip_compaction" {
description = "Option to skip disk compaction after provisioning."
type = bool
default = false
}
variable "output_directory" {
description = "The output directory for the virtual machine."
type = string
default = null
}