B #3232: Surround description with quotes

To avoid problem with spaces
This commit is contained in:
Tino Vazquez committed 2019-10-23 12:20:23 +02:00
1 parent cd157f1bb3
commit d0fd7d2f0a
1 file changed
+1 -1
+1 -1
View File
@@ -816,7 +816,7 @@ module OpenNebula
# Replace the original template's capacity with the actual VM values
replace = ""
if !description.nil?
replace << "DESCRIPTION = #{description}\n"
replace << "DESCRIPTION = \"#{description}\"\n"
end
cpu = self['TEMPLATE/CPU']
if !cpu.nil? && !cpu.empty?