mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-26 10:03:37 +03:00
F #~: Clear Tag remote display (#1552)
This commit is contained in:
parent
03e93e8ea5
commit
51af5a24a0
@ -493,10 +493,11 @@ class OneVcenterHelper < OpenNebulaHelper::OneHelper
|
||||
|
||||
keys_to_remove = []
|
||||
vm['config.extraConfig'].each do |extraconfig|
|
||||
if extraconfig.key.include?('opennebula.disk') ||
|
||||
extraconfig.key.include?('opennebula.vm')
|
||||
keys_to_remove << extraconfig.key
|
||||
end
|
||||
next unless extraconfig.key.include?('opennebula.disk') ||
|
||||
extraconfig.key.include?('opennebula.vm') ||
|
||||
extraconfig.key.downcase.include?('remotedisplay')
|
||||
|
||||
keys_to_remove << extraconfig.key
|
||||
end
|
||||
|
||||
[vm, keys_to_remove]
|
||||
|
Loading…
x
Reference in New Issue
Block a user