mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Fix wrong esx host retrieval for vCenter VMs
This commit is contained in:
parent
e769ba945e
commit
cfc38b0359
@ -1688,7 +1688,7 @@ class VCenterVm
|
||||
@used_memory = 0 if @used_memory.to_i < 0
|
||||
@used_cpu = 0 if @used_cpu.to_i < 0
|
||||
|
||||
@esx_host = host.name
|
||||
@esx_host = @vm.summary.runtime.host.name
|
||||
@guest_ip = @vm.guest.ipAddress
|
||||
@guest_state = @vm.guest.guestState
|
||||
@vmware_tools = @vm.guest.toolsRunningStatus
|
||||
|
Loading…
x
Reference in New Issue
Block a user