freebsd: try using wait_to_add_keys
A problem was found that with some cloud systems
packer was sending a request to set ssh key information
before the server was ready to accept an update.
Let's try waiting a bit before attempting to generate
host keys on a pristine instance.
Signed-off-by: Kelley Spoon <kelley.spoon@linaro.org>
Change-Id: Ie0517e671a125ff1072482323fd7d2715cfa6e1d
diff --git a/packer_freebsd.json b/packer_freebsd.json
index ecc6724..9ab6213 100644
--- a/packer_freebsd.json
+++ b/packer_freebsd.json
@@ -7,6 +7,7 @@
{
"type": "amazon-ebs",
"name": "freebsd-12.3-mbedtls",
+ "wait_to_add_ssh_keys": "20s",
"vpc_id": "vpc-d28c0ca9",
"subnet_id": "subnet-a0d573af ",
"region": "{{user `vpc_region`}}",