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:
parent
d6621dc598
commit
e92b0f2bfa
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user