F #3316: monitor disk location in vCenter (#4476)

Signed-off-by: Carlos Herrera <cherrera@opennebula.io>
This commit is contained in:
Carlos J. Herrera authored and GitHub committed 2020-04-03 14:11:46 +02:00
1 parent e316f5b518
commit c98f894929
1 file changed
+6
@@ -465,6 +465,12 @@ module VirtualMachineMonitor
str_info << 'VCENTER_VMWARETOOLS_VERSION_STATUS=' \
<< vmtools_verst << ' '
str_info << 'VCENTER_RP_NAME="' << rp_name << '" '
info_disks.each do |disk|
str_info << "DISK_#{disk[0]}_ACTUAL_PATH=\"[" << disk[1].ds.name << "] " << disk[1].path << "\" "
end
return str_info
end
def reset_monitor