diff --git a/src/vmm_mad/remotes/lib/vcenter_driver/virtual_machine.rb b/src/vmm_mad/remotes/lib/vcenter_driver/virtual_machine.rb index 70507f3d22..77bd79227f 100644 --- a/src/vmm_mad/remotes/lib/vcenter_driver/virtual_machine.rb +++ b/src/vmm_mad/remotes/lib/vcenter_driver/virtual_machine.rb @@ -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