mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 20:02:38 +09:00
Revert "fix issue when cloning qcow2 images (#122)"
This reverts commit 28f97fd224.
This commit is contained in:
1 parent
64a1a19f23
commit
88c8d3d95c
1 file changed
+1
-1
@@ -104,8 +104,8 @@ else
|
||||
|
||||
CLONE_CMD=$(cat <<EOF
|
||||
cd $DST_DIR
|
||||
rm -rf $DST_PATH{,.snap}
|
||||
mkdir -p ${DST_PATH}.snap
|
||||
rm -f $DST_PATH
|
||||
$QEMU_IMG create -b $SRC_PATH -f qcow2 $QCOW2_OPTIONS ${DST_PATH}.snap/0
|
||||
ln -s ${DST_FILE}.snap/0 ${DST_PATH}
|
||||
cd ${DST_PATH}.snap
|
||||
|
||||
Reference in new issue
Block a user