mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 03:12:55 +09:00
Bug #2535: put quotes around role name in the instantiate extra template
(cherry picked from commit 5edbe4df2d)
This commit is contained in:
1 parent
849c251149
commit
df019bba7e
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user