From d363189d09392e9df57e79f0e95231bef2afcef5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Fri, 9 Jul 2021 09:15:35 +0200
Subject: [PATCH] packer: Wait a bit more for the boot

On slower hosts it takes a bit more time to boot the ISO some times, which
results with not receiving the ESC key to disable the graphic screen, and so
not working installation.
---
 packer/debian10-vm-bootstrap.json | 2 +-
 packer/debian10.json              | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/packer/debian10-vm-bootstrap.json b/packer/debian10-vm-bootstrap.json
index 6717450..bff701e 100644
--- a/packer/debian10-vm-bootstrap.json
+++ b/packer/debian10-vm-bootstrap.json
@@ -15,7 +15,7 @@
         "passwd/username={{user `user`}} ",
         "<enter>"
       ],
-      "boot_wait": "2s",
+      "boot_wait": "30s",
       "disk_size": "{{ user `disk_size`}}000",
       "format": "qcow2",
       "headless": true,
diff --git a/packer/debian10.json b/packer/debian10.json
index 5e62880..62d5495 100644
--- a/packer/debian10.json
+++ b/packer/debian10.json
@@ -15,7 +15,7 @@
         "passwd/username={{user `user`}} ",
         "<enter>"
       ],
-      "boot_wait": "2s",
+      "boot_wait": "30s",
       "disk_size": "{{ user `disk_size`}}000",
       "format": "qcow2",
       "headless": true,
-- 
2.30.9