From c9143b3f6498c472eee29688298a19f0b2a20853 Mon Sep 17 00:00:00 2001 From: Shane Warner Date: Mon, 20 Nov 2017 21:03:48 -0800 Subject: [PATCH] add fix for https://github.com/hashicorp/packer/issues/2156 --- builder/xenserver/common/step_type_boot_command.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/builder/xenserver/common/step_type_boot_command.go b/builder/xenserver/common/step_type_boot_command.go index a9207eca..1610b652 100644 --- a/builder/xenserver/common/step_type_boot_command.go +++ b/builder/xenserver/common/step_type_boot_command.go @@ -195,7 +195,9 @@ func vncSendString(c *vnc.ClientConn, original string) { } c.KeyEvent(keyCode, true) + time.Sleep(time.Second/10) c.KeyEvent(keyCode, false) + time.Sleep(time.Second/10) if keyShift { c.KeyEvent(uint32(KeyLeftShift), false)