Feature #4217: Fix app export for names with spaces

This commit is contained in:
Carlos Martín committed 2016-03-31 17:31:48 +02:00
1 parent e2e8171c1d
commit 85ff319bb7
1 file changed
+1 -1
+1 -1
View File
@@ -197,7 +197,7 @@ module OpenNebula
if !self['TEMPLATE/VMTEMPLATE64'].nil?
tmpl=Base64::decode64(self['TEMPLATE/VMTEMPLATE64'])
tmpl << "\nNAME=#{name}\n"
tmpl << "\nNAME=\"#{name}\"\n"
tmpl << "DISK=[ IMAGE_ID = #{image.id} ]\n"
vmtpl = Template.new(Template.build_xml, @client)