From 46a26a3d9e0e094863bf53cd75b2042b4eb6706d Mon Sep 17 00:00:00 2001 From: Isaac Buckman Date: Mon, 17 Aug 2020 10:00:43 -0400 Subject: [PATCH] Fix Hyper-V boot command refs #5291 (#9765) --- builder/hyperv/common/step_type_boot_command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/hyperv/common/step_type_boot_command.go b/builder/hyperv/common/step_type_boot_command.go index 968da4045..8b7ed40e4 100644 --- a/builder/hyperv/common/step_type_boot_command.go +++ b/builder/hyperv/common/step_type_boot_command.go @@ -55,7 +55,7 @@ func (s *StepTypeBootCommand) Run(ctx context.Context, state multistep.StateBag) scanCodesToSendString := strings.Join(codes, " ") return driver.TypeScanCodes(vmName, scanCodesToSendString) } - d := bootcommand.NewPCXTDriver(sendCodes, -1, s.GroupInterval) + d := bootcommand.NewPCXTDriver(sendCodes, 32, s.GroupInterval) ui.Say("Typing the boot command...") command, err := interpolate.Render(s.BootCommand, &s.Ctx)