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

B #2833 [vCenter] remove duplicated unmanaged nics works

This commit is contained in:
sergio semedi 2019-01-21 16:51:26 +01:00 committed by Tino Vázquez
parent 4d9a1f9c72
commit 9f3b38b086

View File

@ -1050,7 +1050,7 @@ class VirtualMachine < VCenterDriver::Template
key = backing.port.portgroupKey
end
@nics[key] = Nic.vc_nic(d)
@nics["#{key}#{d.key}"] = Nic.vc_nic(d)
end
@nics.reject{|k| k == :macs}