mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-20 10:50:08 +03:00
Add \n to DESCRIPTION attribute
This commit is contained in:
parent
f8183d8adb
commit
eda70b0e41
@ -900,10 +900,10 @@ class VCenterVm
|
||||
|
||||
if @vm.config.annotation.nil? || @vm.config.annotation.empty?
|
||||
str << "DESCRIPTION = \"vCenter Template imported by OpenNebula"\
|
||||
" from Cluster #{@vm.runtime.host.parent.name}\""
|
||||
" from Cluster #{@vm.runtime.host.parent.name}\"\n"
|
||||
else
|
||||
notes = @vm.config.annotation.gsub("\\", "\\\\").gsub("\"", "\\\"")
|
||||
str << "DESCRIPTION = \"#{notes}\""
|
||||
str << "DESCRIPTION = \"#{notes}\"\n"
|
||||
end
|
||||
|
||||
case @vm.guest.guestFullName
|
||||
|
Loading…
x
Reference in New Issue
Block a user