From c51f9730fad8d27e026cfa8b117a347786e39de9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20Eckerstr=C3=B6m?= Date: Tue, 21 Feb 2023 05:56:16 +0100 Subject: [PATCH] Adjustable boot time variable By setting it in a variable I can increase it on my, very old and slow, non-M1, Mac to build images. It should not affect default behaviour, will default to 30s as before. --- openbsd/template.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openbsd/template.json b/openbsd/template.json index c926a81..08a4369 100644 --- a/openbsd/template.json +++ b/openbsd/template.json @@ -4,6 +4,7 @@ "http_proxy": "{{env `http_proxy`}}", "https_proxy": "{{env `https_proxy`}}", "mirror": "https://fastly.cdn.openbsd.org", + "boot_wait": "30s", "major_version": "7", "minor_version": "1" }, @@ -41,7 +42,7 @@ "EOF", "install -af install.conf && reboot" ], - "boot_wait": "30s", + "boot_wait": "{{user `boot_wait`}}", "disk_size": 10140, "guest_additions_mode": "disable", "guest_os_type": "OpenBSD_64",