mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-02 21:25:36 +09:00
B #5366: Fix extra new line in description
Applies to VMs imported from vCenter.
This commit is contained in:
1 parent
87a1f7f54a
commit
4c1deb51e1
1 file changed
+2
-3
@@ -1573,9 +1573,8 @@ module VCenterDriver
|
||||
str << "]\n"
|
||||
|
||||
if annotation.nil? || annotation.empty?
|
||||
str << 'DESCRIPTION = "vCenter Template \
|
||||
imported by OpenNebula' \
|
||||
" from Cluster #{ccr_name}\"\n"
|
||||
str << 'DESCRIPTION = "vCenter Template imported by OpenNebula'\
|
||||
" from Cluster #{ccr_name}\"\n"
|
||||
else
|
||||
notes = annotation.gsub('\\', '\\\\').gsub('"', '\\"')
|
||||
str << "DESCRIPTION = \"#{notes}\"\n"
|
||||
|
||||
Reference in new issue
Block a user