1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-15 05:57:23 +03:00

M #-: Add comment about disk structucre

in vCenter monitoring
This commit is contained in:
Tino Vazquez 2022-03-01 19:35:46 +01:00
parent 0dd55399a5
commit 91ba298e77
No known key found for this signature in database
GPG Key ID: 14201E424D02047E

View File

@ -275,6 +275,10 @@ module VirtualMachineMonitor
info_disks.each do |disk|
next if disk[1].no_exists?
# disk[0] contains the disk ID in OpenNebula or the disk path if
# there is no corresponding OpenNebula disk
# disk[1] contains the vcenter resource corresponding to the VM disk
# Delete special characters
name = disk[0].gsub(/[^0-9A-Za-z]/, '_')