1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-24 21:34:01 +03:00

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

Signed-off-by: Carlos Herrera <cherrera@opennebula.io>
This commit is contained in:
Carlos J. Herrera 2020-08-31 12:48:17 -04:00 committed by GitHub
parent d506c2714d
commit d6cbe1d964
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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