mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
Fixed bug: using qemu-img convert instead of mv for tm/shared
(cherry picked from commit ee2c1704fd823372da50035315f8fe0c2bc32e1e)
This commit is contained in:
parent
86d6a2b227
commit
db2d3e45c5
@ -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
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user