feat(nebula): adding mac address definition for nics

This commit is contained in:
Philippe Caseiro 2023-02-07 14:27:19 +01:00
parent 5059720757
commit 05711c4bbd
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
# terracadoles # terracadoles
Cadoles Terraform modules Cadoles Terraform modules
## Modules
* virtualMachine
* dns
* nebula

View File

@ -100,6 +100,7 @@ resource "opennebula_template" "vm_template" {
content { content {
network_id = nic.value.network_id network_id = nic.value.network_id
model = "virtio" model = "virtio"
mac = nic.value.mac
ip = nic.value.ip ip = nic.value.ip
} }
} }