fix(vmware): adding network interface definiton for ovf imports
This commit is contained in:
parent
1ab2c571a6
commit
4aba5c317d
|
@ -68,6 +68,13 @@ resource "vsphere_virtual_machine" "ova" {
|
||||||
wait_for_guest_net_timeout = 0
|
wait_for_guest_net_timeout = 0
|
||||||
wait_for_guest_ip_timeout = 0
|
wait_for_guest_ip_timeout = 0
|
||||||
|
|
||||||
|
dynamic "network_interface" {
|
||||||
|
for_each = each.value.network_map
|
||||||
|
content {
|
||||||
|
network_id = data.vsphere_network.network[network_interface.value].id
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
ovf_deploy {
|
ovf_deploy {
|
||||||
allow_unverified_ssl_cert = each.value.allow_unverified_ssl_cert
|
allow_unverified_ssl_cert = each.value.allow_unverified_ssl_cert
|
||||||
remote_ovf_url = each.value.remote_ovf_url
|
remote_ovf_url = each.value.remote_ovf_url
|
||||||
|
|
Loading…
Reference in New Issue