fix(nebula): try to add mac and IP support
This commit is contained in:
parent
d02ec11cb9
commit
85bb5d597d
|
@ -105,7 +105,8 @@ resource "opennebula_template" "vm_template" {
|
|||
content {
|
||||
network_id = nic.value.network_id
|
||||
model = "virtio"
|
||||
mac = nic.value.mac
|
||||
mac = ( nic.value.mac != "" ? nic.value.mac : "" )
|
||||
ip = ( nic.value.ip != "" ? nic.value.ip : "" )
|
||||
}
|
||||
}
|
||||
permissions = var.permissions
|
||||
|
|
Loading…
Reference in New Issue