You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Forgive me if this is already a feature but Im new to terraform and GO, I want to get a list of all the virtual switches already configured on the host and while creating the vm create an adapter attached to each switch. I am working in an environment where the switch names, order, vlan, and number of switches are all highly variable per hypervisor. I had a look at the code for getting the virtualswitch but I see switch name seems to be required. Is there any possible way I can read into a list all the switches on the hypervisor ? Right now my plan is just to make a tfvars for every single hypervisor
The text was updated successfully, but these errors were encountered:
jeremyjbutler
changed the title
possible feature request
List All VirtualSwitch Names (possible feature request)
Jan 22, 2024
Forgive me if this is already a feature but Im new to terraform and GO, I want to get a list of all the virtual switches already configured on the host and while creating the vm create an adapter attached to each switch. I am working in an environment where the switch names, order, vlan, and number of switches are all highly variable per hypervisor. I had a look at the code for getting the virtualswitch but I see switch name seems to be required. Is there any possible way I can read into a list all the switches on the hypervisor ? Right now my plan is just to make a tfvars for every single hypervisor
The text was updated successfully, but these errors were encountered: