hashicorp / packer-plugin-hyperv

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

Hyper v multiple switches #125

Open galthaus opened 5 months ago

galthaus commented 5 months ago

This adds ability to specify additional network adapter configurations. The existing templates should work in a backwards compatible way.

switch_config {
  switch_name = "Default Switch"
}

switch_config {
  switch_name = "sw1"
  switch_type = "Internal"
}

adapter_config {
  switch_name = "Default Switch"
}

adapter_config {
  name = "nic1"
  swich_name = "sw1"
}

Closes #86 Closes #114

hashicorp-cla commented 5 months ago

CLA assistant check
All committers have signed the CLA.