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

This commit is contained in:
Alejandro Huertas Herrero authored and GitHub committed 2020-02-26 14:32:48 +01:00
1 parent 4fb54f5dc4
commit 8cc1d07c46
1 file changed
+3
+3
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);
}