mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
Co-authored-by: mouyaq <amoya@opennebula.io>
This commit is contained in:
parent
b0ffa98b49
commit
f9f4644b2a
@ -961,6 +961,8 @@ class ESXHost
|
||||
# Get pnics in use in standard switches
|
||||
@item.config.network.vswitch.each do |vs|
|
||||
vs.pnic.each do |pnic|
|
||||
next unless pnic.instance_of?(String)
|
||||
|
||||
pnic.slice!("key-vim.host.PhysicalNic-")
|
||||
pnics_in_use << pnic
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user