feature #2054: Add "\n" when updating the template

This commit is contained in:
Daniel Molina committed 2013-06-27 16:06:39 +02:00
1 parent 2fe0ac734c
commit 6daef32acf
1 file changed
+1 -1
+1 -1
View File
@@ -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)