hashicorp / hashicorp/packer-plugin-hyperv

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

Open
#20 10 comments 34 reactions 0 assignees View on GitHub
builder/hyperv enhancement help wanted track-internal
Dominant language
Go
Stars
27
Forks
28
PR merge metrics
No merged PRs in 30d

Description

_This issue was originally opened by @giordyb as hashicorp/packer#5200. It was migrated here as a result of the [Packer plugin split](https://github.com/hashicorp/packer/issues/8610#issuecomment-770034737). 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.