diff --git a/src/image_mad/remotes/fs/mv b/src/image_mad/remotes/fs/mv index 28cf682d1c..4b9a4fed4a 100755 --- a/src/image_mad/remotes/fs/mv +++ b/src/image_mad/remotes/fs/mv @@ -38,7 +38,7 @@ ID=$3 # ------------ Generate a filename for the image ------------ -if [ $DST -eq "-" ] ; then +if [ "$DST" = "-" ] ; then DST=`generate_image_path` fi diff --git a/src/rm/RequestManagerSaveDisk.cc b/src/rm/RequestManagerSaveDisk.cc index 7b62095cf8..28da4e1271 100644 --- a/src/rm/RequestManagerSaveDisk.cc +++ b/src/rm/RequestManagerSaveDisk.cc @@ -102,6 +102,7 @@ void RequestManager::VirtualMachineSaveDisk::execute( oss << "NAME= " << img_name << endl; oss << "PUBLIC = NO " << endl; + oss << "SOURCE = - " << endl; img_template = new ImageTemplate;