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

builder/hyperv: shutdown command shouldn't hang #4435

Closed
mwhooker opened this issue Jan 20, 2017 · 2 comments · Fixed by #4691
Closed

builder/hyperv: shutdown command shouldn't hang #4435

mwhooker opened this issue Jan 20, 2017 · 2 comments · Fixed by #4691

Comments

@mwhooker
Copy link
Contributor

There was an issue open against parallels/vmware that showed the build hanging when using sysprep to shut down. See #4134 and #4433 for context.

The same behavior might exist in hyper-v, and we need to fix it if it does. cc @taliesins

@ebjornset
Copy link

ebjornset commented Mar 20, 2017

@mwhooker I ran into this issue when testing #4664 on Windows 10, using an .iso that I downloaded from MSDN, so the issue exists in the hyperv-builder as well.

Commenting out the cmd.Wait() ...\go\src\github.com\mitchellh\packer\builder\hyperv\common\step_shutdown.go fixed the problem on my machine.

@mwhooker
Copy link
Contributor Author

@ebjornset thanks for following up!

@mwhooker mwhooker changed the title builder/hyperv: test that shutdown command doesn't hang builder/hyperv: shutdown command shouldn't hang Mar 20, 2017
@mwhooker mwhooker reopened this Mar 20, 2017
@mwhooker mwhooker added this to the v1.0 milestone Mar 20, 2017
@ghost ghost locked and limited conversation to collaborators Apr 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants