B #6090 Pass $FORMAT to mkfs_command (#2462)

This commit is contained in:
Jan Orel authored and GitHub committed 2023-01-27 18:42:05 +01:00
1 parent dd9620f92e
commit 1eb8e75c46
1 file changed
+1 -1
+1 -1
View File
@@ -133,7 +133,7 @@ set -e -o pipefail
# if user requested a swap or specifies a FS, we need to create a local
# formatted image and upload into existing Ceph image
FS_OPTS=$(eval $(echo "echo \$FS_OPTS_$FS"))
MKFS_CMD=`mkfs_command $DST_PATH raw $SIZE "$SUPPORTED_FS" "$FS" "$FS_OPTS"`
MKFS_CMD=`mkfs_command $DST_PATH $FORMAT $SIZE "$SUPPORTED_FS" "$FS" "$FS_OPTS"`
MKIMAGE_CMD=$(cat <<EOF
set -e -o pipefail