hashicorp / hashicorp/packer-plugin-hyperv
Feature Request to hyper-v builder: add the ability to build VMs against a remote hyper-v host/cluster
- 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
Assessment
This issue has not been assessed yet.