Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Hyper-V boot command refs #9765

Merged
merged 1 commit into from
Aug 17, 2020

Conversation

dreadknought
Copy link
Contributor

The boot command was being sent as a single long string to be
typed into the Hyper-V VM, which caused some scan codes to be
intermittently skipped. The boot command is now split up and sent as
chunks of 32 scan codes at a time.

Closes #5291

@hashicorp-cla
Copy link

hashicorp-cla commented Aug 13, 2020

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@sylviamoss sylviamoss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello there, thanks for the contribution; this LGTM; please sign the CLA so that we can merge this when is ready 🙂
I made a suggestion that could make it more simple. I think defining smaller chuck sizes e already possible through the driver

builder/hyperv/common/step_type_boot_command.go Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Aug 14, 2020

Codecov Report

Merging #9765 into master will decrease coverage by 0.15%.
The diff coverage is 0.00%.

Impacted Files Coverage Δ
builder/hyperv/common/step_type_boot_command.go 0.00% <0.00%> (ø)
common/iso_config.go 60.29% <0.00%> (-30.82%) ⬇️
builder/parallels/common/output_config.go 70.00% <0.00%> (-17.50%) ⬇️
template/template.go 74.00% <0.00%> (-15.19%) ⬇️
helper/useragent/useragent.go 50.00% <0.00%> (-10.00%) ⬇️
builder/vmware/common/ssh_config.go 40.00% <0.00%> (-10.00%) ⬇️
builder/parallels/common/artifact.go 46.34% <0.00%> (-9.91%) ⬇️
template/parse.go 65.40% <0.00%> (-9.19%) ⬇️
common/shell-local/communicator.go 30.55% <0.00%> (-8.74%) ⬇️
builder/azure/chroot/step_mount_device.go 30.52% <0.00%> (-8.15%) ⬇️
... and 989 more

@dreadknought
Copy link
Contributor Author

Made the suggested change, thanks!

@sylviamoss
Copy link
Member

Great and the checks are all green! Please sign the CLA so that we can merge this.

Copy link
Member

@sylviamoss sylviamoss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there! I'm waiting for you to sing our CLA to merge this.

@sylviamoss sylviamoss removed the request for review from taliesins August 17, 2020 11:43
@dreadknought
Copy link
Contributor Author

Hi @sylviamoss, I think there may be a problem with the CLA signing process, I've already signed it and when I visit the link to sign, it says it's signed. Screen shot here:
image

The boot command was being sent as a single long string to be
typed into the Hyper-V VM, which caused some scan codes to be
intermittently skipped. The boot command is now split up and sent as
chunks of 32 scan codes at a time.

Closes hashicorp#5291
@dreadknought
Copy link
Contributor Author

I found the problem with the signed CLA, user error on my part. Thanks.

@sylviamoss
Copy link
Member

Nice!! Thank you!

@sylviamoss sylviamoss merged commit 46a26a3 into hashicorp:master Aug 17, 2020
@dreadknought dreadknought deleted the fix-hyperv-boot-command branch August 18, 2020 14:09
@SwampDragons SwampDragons added this to the 1.6.2 milestone Aug 19, 2020
@nywilken nywilken changed the title Fix Hyper-V boot command refs #5291 Fix Hyper-V boot command refs Aug 27, 2020
@ghost
Copy link

ghost commented Oct 13, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked as resolved and limited conversation to collaborators Oct 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

hyperv-iso builder types boot_command too fast, loosing key strokes
4 participants