mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
F #911: Fix bug with PCI NIC devices.
This commit is contained in:
parent
5187740870
commit
939825948c
@ -280,7 +280,7 @@ int VirtualMachineNics::get_network_leases(int vm_id, int uid,
|
||||
|
||||
one_util::toupper(net_mode);
|
||||
|
||||
if (vnic->name() == "NIC")
|
||||
if (vnic->name() == "NIC" || vnic->name() == "PCI")
|
||||
{
|
||||
VirtualMachineNic * nic = new VirtualMachineNic(vnic, nic_id);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user