aboutsummaryrefslogtreecommitdiffstats
path: root/openbsd-image/variables.pkr.hcl
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2026-10-03 08:52:49 -0700
committerEugene Triguba <hello@eugenetriguba.com>2026-10-11 18:33:35 -0700
commitde40b1e69eaabac3ca01774fa3a4e7abc463ac7c (patch)
tree9e6ba70dd1f982f851c84a1aa542c1a28a55010f /openbsd-image/variables.pkr.hcl
parentAdd prompt to remove build directory if it exists (diff)
downloadsite-server-images-de40b1e69eaabac3ca01774fa3a4e7abc463ac7c.zip
Customize the disk layout via disklabel templates
Diffstat (limited to 'openbsd-image/variables.pkr.hcl')
-rw-r--r--openbsd-image/variables.pkr.hcl6
1 files changed, 6 insertions, 0 deletions
diff --git a/openbsd-image/variables.pkr.hcl b/openbsd-image/variables.pkr.hcl
index e8340a9..0577253 100644
--- a/openbsd-image/variables.pkr.hcl
+++ b/openbsd-image/variables.pkr.hcl
@@ -59,3 +59,9 @@ variable "disk_size" {
description = "Size of the disk in GB while building the ISO"
default = 16
}
+
+variable "disklabel_template" {
+ type = string
+ description = "Specify a custom disklabel template. If empty (default), we'll use OpenBSD's default automatic layout."
+ default = ""
+}