mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-21 12:22:38 +09:00
Feature #4217: fixes bug that forces conversion to raw even for raw
images
This commit is contained in:
1 parent
bdda84262f
commit
4ef0e947a3
1 file changed
+1
-1
@@ -139,7 +139,7 @@ fi
|
||||
REGISTER_CMD=$(cat <<EOF
|
||||
set -e
|
||||
|
||||
FORMAT=\$($QEMU_IMG info $TMP_DST | grep "^file format:" | awk '{print $3}')
|
||||
FORMAT=\$($QEMU_IMG info $TMP_DST | grep "^file format:" | awk '{print \$3}')
|
||||
|
||||
if [ "\$FORMAT" != "raw" ]; then
|
||||
$QEMU_IMG convert -O raw $TMP_DST $TMP_DST.raw
|
||||
|
||||
Reference in new issue
Block a user