1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

bug: fixes save_as functionality

This commit is contained in:
Ruben S. Montero 2011-05-15 21:35:39 +02:00
parent a044828c0d
commit 7965feb43b
2 changed files with 2 additions and 1 deletions

View File

@ -38,7 +38,7 @@ ID=$3
# ------------ Generate a filename for the image ------------
if [ $DST -eq "-" ] ; then
if [ "$DST" = "-" ] ; then
DST=`generate_image_path`
fi

View File

@ -102,6 +102,7 @@ void RequestManager::VirtualMachineSaveDisk::execute(
oss << "NAME= " << img_name << endl;
oss << "PUBLIC = NO " << endl;
oss << "SOURCE = - " << endl;
img_template = new ImageTemplate;