Skip to content

Commit

Permalink
F #1345: Allow LUKS img in ceph DS (#1151)
Browse files Browse the repository at this point in the history
(cherry picked from commit f5d4d8b)
  • Loading branch information
xorel authored and rsmontero committed May 18, 2021
1 parent 6553d76 commit 1e20ad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datastore_mad/remotes/ceph/cp
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ REGISTER_CMD=$(cat <<EOF
FORMAT=\$($QEMU_IMG info $TMP_DST | grep "^file format:" | awk '{print \$3}' || :)
if [ "\$FORMAT" != "raw" ]; then
if [ "\$FORMAT" != "raw" ] && [ "\$FORMAT" != "luks" ]; then
$QEMU_IMG convert -O raw $TMP_DST $TMP_DST.raw
mv $TMP_DST.raw $TMP_DST
fi
Expand Down

0 comments on commit 1e20ad8

Please sign in to comment.