F #1345: Allow LUKS img in ceph DS (#1151)

This commit is contained in:
Jan Orel authored and GitHub committed 2021-04-29 17:53:46 +02:00
1 parent cbd12bb0c4
commit f5d4d8ba07
1 file changed
+1 -1
+1 -1
View File
@@ -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