mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 03:12:55 +09:00
feature #2054: Add "\n" when updating the template
This commit is contained in:
1 parent
2fe0ac734c
commit
6daef32acf
1 file changed
+1
-1
@@ -105,7 +105,7 @@ put '/vm/:id' do
|
||||
template_str = vm.template_like_str('USER_TEMPLATE')
|
||||
|
||||
# TODO check body format
|
||||
template_str += request.body.read
|
||||
template_str += "\n" + request.body.read
|
||||
|
||||
rc = vm.update(template_str)
|
||||
if OpenNebula.is_error?(rc)
|
||||
|
||||
Reference in new issue
Block a user