Bug #2535: put quotes around role name in the instantiate extra template

(cherry picked from commit 5edbe4df2d)
This commit is contained in:
Carlos Martín committed 2013-12-03 16:18:35 +01:00
1 parent 849c251149
commit df019bba7e
1 file changed
+1 -1
+1 -1
View File
@@ -250,7 +250,7 @@ module OpenNebula
template = OpenNebula::Template.new_with_id(template_id, @service.client)
extra_template = "SERVICE_ID = #{@service.id()}\n"\
"ROLE_NAME = #{@body['name']}"
"ROLE_NAME = \"#{@body['name']}\""
vm_id = template.instantiate(vm_name, false, extra_template)