Try to fix network id issue
This commit is contained in:
parent
10218809aa
commit
2f5bd95903
|
@ -69,7 +69,7 @@ module "vms" {
|
|||
data_image_source = ""
|
||||
|
||||
depends = [
|
||||
opennebula_virtual_network["vnet"]
|
||||
opennebula_virtual_network.vnet["internet"].id
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
@ -71,7 +71,7 @@ resource "opennebula_template" "vm_template" {
|
|||
for_each = var.network_interfaces
|
||||
|
||||
content {
|
||||
network_id = nic.value.network_id
|
||||
network_name = nic.value.network_name
|
||||
model = "virtio"
|
||||
ip = nic.value.ip
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue