mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
B# 2398: Skip vCenter hosts from onehost sync
(cherry picked from commit d05c1ac6bba657bf004f2628966606a5debca63f)
This commit is contained in:
parent
e2f54c68fb
commit
4945e4b226
@ -296,6 +296,9 @@ class OneHostHelper < OpenNebulaHelper::OneHelper
|
||||
# Skip this host from remote syncing if it's OFFLINE
|
||||
next if Host::HOST_STATES[state.to_i] == 'OFFLINE'
|
||||
|
||||
# Skip this host if it is a vCenter cluster
|
||||
next if vm_mad == "vcenter"
|
||||
|
||||
host_version=host['TEMPLATE/VERSION']
|
||||
|
||||
begin
|
||||
|
Loading…
x
Reference in New Issue
Block a user