1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-08 05:57:23 +03:00

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

(cherry picked from commit 1eb8e75c46b522fc888ec2fab9dfe636171f0990)
This commit is contained in:
Jan Orel 2023-01-27 18:42:05 +01:00 committed by Ruben S. Montero
parent 72b7753650
commit 3834777ae6
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

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