diff --git a/src/oca/ruby/opennebula/marketplaceapp.rb b/src/oca/ruby/opennebula/marketplaceapp.rb index d5750e8601..014cffb5f4 100644 --- a/src/oca/ruby/opennebula/marketplaceapp.rb +++ b/src/oca/ruby/opennebula/marketplaceapp.rb @@ -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)