Try to fix network id issue
This commit is contained in:
parent
2f5bd95903
commit
149b5f526e
|
@ -19,6 +19,7 @@ virtual_machines = {
|
||||||
source = "http://localhost/fabrica/infra/production/amon.fabrica.local/system/amon.fabrica.local"
|
source = "http://localhost/fabrica/infra/production/amon.fabrica.local/system/amon.fabrica.local"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
depends = [ "internet" ]
|
||||||
},
|
},
|
||||||
scribe = {
|
scribe = {
|
||||||
fqdn = "scribe.fabrica.local",
|
fqdn = "scribe.fabrica.local",
|
||||||
|
|
|
@ -71,7 +71,7 @@ resource "opennebula_template" "vm_template" {
|
||||||
for_each = var.network_interfaces
|
for_each = var.network_interfaces
|
||||||
|
|
||||||
content {
|
content {
|
||||||
network_name = nic.value.network_name
|
network_id = nic.value.network_id
|
||||||
model = "virtio"
|
model = "virtio"
|
||||||
ip = nic.value.ip
|
ip = nic.value.ip
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue