Open joyce7216 opened 9 years ago
Could you elaborate?
For example, I want to set two switch, one for SWITCH0, the other for SWITCH1. I'm not sure how to do?
The following doesn't work:
"builders": [
{
"vm_name": "win2012r2-standard",
"type": "hyperv-iso",
"iso_url": "{{ user iso_url
}}",
"iso_checksum": "{{ user iso_checksum
}}",
"iso_checksum_type": "sha1",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_wait_timeout": "10000s",
"switch_name": "SWITCH0",
"switch_name": "SWITCH1",
"product_key": "xxxxx-xxxxx-xxxxx-xxxxx-xxxxx",
]
}
]
Packer is for creating templates. Normally, you would add multiple switches / NICs in vagrant.
Is it possible to create two switch_name ?