1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-10 01:17:40 +03:00

Bug #820: Saveas fails if image name has spaces. Now the template is generated to deal with this case

This commit is contained in:
Ruben S. Montero 2011-09-24 19:55:42 +02:00
parent d6621dc598
commit e92b0f2bfa

View File

@ -408,7 +408,7 @@ void VirtualMachineSaveDisk::request_execute(xmlrpc_c::paramList const& paramLis
// ------------------ Template for the new image ------------------
oss << "NAME= " << img_name << endl;
oss << "NAME= \"" << img_name << "\"" << endl;
oss << "PUBLIC = NO " << endl;
oss << "SOURCE = - " << endl;