From 3370c91cf2ad5c0a0e94a29df0a5de756495c386 Mon Sep 17 00:00:00 2001 From: jhawk28 Date: Wed, 29 Jul 2020 09:06:45 -0400 Subject: [PATCH] add some additional messaging when a boot command fails to type (#9661) --- builder/vsphere/common/step_boot_command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/vsphere/common/step_boot_command.go b/builder/vsphere/common/step_boot_command.go index 4949ff0d6..25067eb69 100644 --- a/builder/vsphere/common/step_boot_command.go +++ b/builder/vsphere/common/step_boot_command.go @@ -95,7 +95,7 @@ func (s *StepBootCommand) Run(ctx context.Context, state multistep.StateBag) mul Shift: keyShift, }) if err != nil { - return fmt.Errorf("error typing a boot command: %v", err) + return fmt.Errorf("error typing a boot command (code, down) `%d, %t`: %w", code, down, err) } return nil }