mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 20:02:38 +09:00
Fixed bug: using qemu-img convert instead of mv for tm/shared
This commit is contained in:
1 parent
226d404a6f
commit
ee2c1704fd
1 file changed
+1
-2
@@ -56,8 +56,7 @@ DST_READLN=\$($READLINK -f $DST_PATH)
|
||||
if [ \( -L $SRC \) -a \( "\$SRC_READLN" = "\$DST_READLN" \) ] ; then
|
||||
echo "Not moving files to image repo, they are the same"
|
||||
else
|
||||
qemu-img convert $SRC_PATH -O qcow2 $DST_PATH
|
||||
rm $SRC_PATH
|
||||
mv -f $SRC_PATH $DST_PATH
|
||||
fi
|
||||
EOF
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user