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

Development: fix bug with quotes (#3091)

This commit is contained in:
Alejandro Huertas Herrero 2019-03-18 14:21:46 +01:00 committed by Ruben S. Montero
parent 25852e4022
commit 1fe909f6c3

View File

@ -192,8 +192,8 @@ module OpenNebula
options[:vmtemplate_name] = name unless options[:vmtemplate_name]
tmpl << "\n"
tmpl << 'NAME=\"' << name << '\"\n'
tmpl << 'FROM_APP=\"' << self['ID'] << '\"\n'
tmpl << "NAME=\"" << name << "\"\n"
tmpl << "FROM_APP=\"" << self['ID'] << "\"\n"
case type_str
when 'IMAGE'