hashicorp / packer-plugin-hyperv

Packer plugin for Hyper-V Builder
https://www.packer.io/docs/builders/hyperv
Mozilla Public License 2.0
19 stars 24 forks source link

Use the correct HostVMAdapter #100

Open jshbrntt opened 1 year ago

jshbrntt commented 1 year ago

This change will select the correct HostVMAdapter when there are multiple associated with the specified switch (usually Default Switch).

This is done by filtering the adapter selected by using the one where IsolationMode is set to Vlan.

Closes #99

hashicorp-cla commented 1 year ago

CLA assistant check
All committers have signed the CLA.