From 320e8de9e098a6c7cd0ee225c709aa399213453f Mon Sep 17 00:00:00 2001 From: 4censord Date: Thu, 22 Apr 2021 12:00:09 +0200 Subject: [PATCH] Workaround for problems with the Ubuntu template --- examples/ubuntu/ubuntu-2004.pkr.hcl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/examples/ubuntu/ubuntu-2004.pkr.hcl b/examples/ubuntu/ubuntu-2004.pkr.hcl index badf453..f670605 100644 --- a/examples/ubuntu/ubuntu-2004.pkr.hcl +++ b/examples/ubuntu/ubuntu-2004.pkr.hcl @@ -72,9 +72,10 @@ source "xenserver-iso" "ubuntu-2004" { ] boot_wait = "10s" - ssh_username = "testuser" - ssh_password = "ubuntu" - ssh_wait_timeout = "10m" + ssh_username = "testuser" + ssh_password = "ubuntu" + ssh_wait_timeout = "60000s" + ssh_handshake_attempts = 10000 output_directory = "packer-ubuntu-2004-iso" keep_vm = "always"