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

Feature Request to hyper-v builder: add the ability to build VMs against a remote hyper-v host/cluster #20

Open
ghost opened this issue Apr 21, 2021 · 5 comments

Comments

@ghost
Copy link

ghost commented Apr 21, 2021

This issue was originally opened by @giordyb as hashicorp/packer#5200. It was migrated here as a result of the Packer plugin split. The original body of the issue is below.


It would be really useful to have packer connect to a remote hyper-v host/cluster to provision virtual machines (like the vmware builder already does).

I think that this could be done relatively easily either by

  • adding the "-ComputerName" parameter to the various cmdlets that are called to build the VM

  • using invoke-command (with the relevant connection parameters) instead of running the powershell scripts locally. An added bonus to this would be that it would enable the Linux version of packer to provision against hyper-v by using the Linux version of powershell.

@tps125
Copy link

tps125 commented May 27, 2021

Mostly managing on-site infrastructure; this would be quite helpful.

@rismoney
Copy link

rismoney commented Feb 4, 2022

This issue has been lurking for years. Is there anyone who can help get this to the finish line?

@danonh
Copy link

danonh commented May 18, 2022

Really appreciate if someone could take a look on this. The lack of this option does not allow us perform our CD process efficiently. Thanks.

@michaelpayne02
Copy link

Really wish we could have a working solution for this. The terraform Hyper-V provider does this well, although there are definitely hurdles when it comes to SSL encryption.

@dataenligne
Copy link

I agree with the comments above.. this would be really useful, especially from a CD process perspective.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants