Add NIC without IP/MAC

Hello,

I have OpenNebula 5.4 and I have the same problem, my template is:

template: |
CONTEXT = [
CONTEXT = “true”,
HOSTNAME = “redhatAnsible”,
ETH0_GATEWAY = “192.168.1.1”,
ETH0_IP = “192.168.1.2”,
ETH0_MASK = “255.255.255.0”,
ETH0_NETWORK = “192.168.1.0”,
]
NIC=[
NETWORK = “VLAN 51”,
AR_ID = “1”
]

And in opennebula:

but I have the problem “Cannot get IP/MAC lease from virtual network 4”, it is not possible to use the nic field in the template having a mac without IP as a virtual network?

Thank you.