aboutsummaryrefslogtreecommitdiffstats
path: root/openbsd-image/variables.pkr.hcl
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-image/variables.pkr.hcl')
-rw-r--r--openbsd-image/variables.pkr.hcl8
1 files changed, 7 insertions, 1 deletions
diff --git a/openbsd-image/variables.pkr.hcl b/openbsd-image/variables.pkr.hcl
index 4bc0860..e8340a9 100644
--- a/openbsd-image/variables.pkr.hcl
+++ b/openbsd-image/variables.pkr.hcl
@@ -21,7 +21,7 @@ variable "admin_user" {
default = "admin"
}
-variable "ssh_public_key" {
+variable "ssh_key" {
type = string
description = "Public SSH key to associate with the admin user for login"
}
@@ -42,6 +42,12 @@ variable "hostname" {
default = "openbsd-vm"
}
+variable "cpus" {
+ type = number
+ description = "CPUs to allocate to the VM while building the ISO"
+ default = 2
+}
+
variable "memory" {
type = number
description = "Memory to allocate to the VM in MB while building the ISO"