1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-30 22:50:10 +03:00

M #-: scape blank spaces in vCenter disk names (#385)

(cherry picked from commit d841e3189e3377ba3c12eb898ff73505320fda4c)
This commit is contained in:
Alejandro Huertas Herrero 2020-11-03 10:01:04 +01:00 committed by Ruben S. Montero
parent c6717ccbc7
commit a0ccaa6e1c
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -465,7 +465,7 @@ module VirtualMachineMonitor
info_disks.each do |disk|
next if disk[1].no_exists?
str_info << "DISK_#{disk[0]}_ACTUAL_PATH=\"[" <<
str_info << "DISK_#{disk[0].gsub(' ', '_')}_ACTUAL_PATH=\"[" <<
disk[1].ds.name << '] ' << disk[1].path << '" ' << "\n"
end