1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-26 10:03:37 +03:00

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

This commit is contained in:
Jan Orel 2023-01-27 18:42:05 +01:00 committed by GitHub
parent dd9620f92e
commit 1eb8e75c46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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