1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-26 09:57:23 +03:00

B #3232: Surround description with quotes

To avoid problem with spaces
This commit is contained in:
Tino Vazquez 2019-10-23 12:20:23 +02:00
parent cd157f1bb3
commit d0fd7d2f0a
No known key found for this signature in database
GPG Key ID: 2FE9C32E94AEABBE

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?