mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-21 12:22:38 +09:00
Feature #4217: Fix app export for names with spaces
This commit is contained in:
1 parent
e2e8171c1d
commit
85ff319bb7
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user