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

F #5004: fix support INIT_SCRIPTS vCenter (#171)

Signed-off-by: Carlos Herrera <cherrera@opennebula.io>
(cherry picked from commit d6cbe1d964dc25bb2573ee73338608fb7fe829fc)
This commit is contained in:
Carlos J. Herrera 2020-08-31 12:48:17 -04:00 committed by Tino Vazquez
parent 08447071f0
commit f7e3b5646e
No known key found for this signature in database
GPG Key ID: 2FE9C32E94AEABBE

View File

@ -1372,7 +1372,7 @@ module VCenterDriver
one_item.each('TEMPLATE/CONTEXT/*') do |context_element|
# next if !context_element.text
context_text += context_element.name + "='" +
context_element.text.gsub("'", "\\'") + "'\n"
context_element.text.gsub("'", "\'") + "'\n"
end
# token