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:
parent
4d9a1f9c72
commit
9f3b38b086
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user