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:
parent
a044828c0d
commit
7965feb43b
@ -38,7 +38,7 @@ ID=$3
|
||||
|
||||
# ------------ Generate a filename for the image ------------
|
||||
|
||||
if [ $DST -eq "-" ] ; then
|
||||
if [ "$DST" = "-" ] ; then
|
||||
DST=`generate_image_path`
|
||||
fi
|
||||
|
||||
|
@ -102,6 +102,7 @@ void RequestManager::VirtualMachineSaveDisk::execute(
|
||||
|
||||
oss << "NAME= " << img_name << endl;
|
||||
oss << "PUBLIC = NO " << endl;
|
||||
oss << "SOURCE = - " << endl;
|
||||
|
||||
img_template = new ImageTemplate;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user