Skip to content
This repository has been archived by the owner on Jun 12, 2021. It is now read-only.

Latest commit

 

History

History
27 lines (13 loc) · 700 Bytes

Readme.md

File metadata and controls

27 lines (13 loc) · 700 Bytes

Packer Plugin for Hyper-V over SSH

Quick Setup

On HyperV Server Run:

choco install -y openssh -params "/SSHServerFeature /PathSpecsToProbeForShellEXEString:$env:WINDIR\system32\windowspowershell\v1.0\powershell.exe"

In your packer template add:

hyperv_server: hostname of the server running hyper-v

hyperv_username: username to authenticate to the server as

hyperv_password: password for the user authenticating

Notes

Currently only supports iso builds, EVERYTHING is relative to the server

Very rough at the moment and suited to my personal needs, but updates coming.

Thanks

To the writers of the packer built-in hyperv plugin, of which much of this is based off of