Skip to content

Commit

Permalink
F #5004: fix support INIT_SCRIPTS vCenter (#171)
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Herrera <[email protected]>
  • Loading branch information
carloshm91 authored and rsmontero committed Sep 2, 2020
1 parent d4a62f1 commit 8fb7b96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vmm_mad/remotes/lib/vcenter_driver/virtual_machine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1372,7 +1372,7 @@ def extraconfig_context
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
Expand Down

0 comments on commit 8fb7b96

Please sign in to comment.