1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

B #4262: add nic name when using auto mode (#4266)

This commit is contained in:
Alejandro Huertas Herrero 2020-02-26 14:32:48 +01:00 committed by GitHub
parent 4fb54f5dc4
commit 8cc1d07c46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -323,6 +323,9 @@ int VirtualMachineNics::get_network_leases(int vm_id, int uid,
}
else
{
// set nic name for NIC_ALIAS
nic->set_nic_name();
nic->replace("NIC_ID", nic_id);
}