From a47fab6c35b8be85c32a113537de75bc49737228 Mon Sep 17 00:00:00 2001 From: pedro Date: Fri, 20 Sep 2024 19:55:21 -0300 Subject: [PATCH] deploy-workbench.sh: clearer persistence size --- deploy-workbench.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy-workbench.sh b/deploy-workbench.sh index 9f1bcfc..ffa4cdc 100755 --- a/deploy-workbench.sh +++ b/deploy-workbench.sh @@ -189,8 +189,8 @@ create_persistence_partition() { rw_img_name="workbench_vfat.img" rw_img_path="${ISO_PATH}/staging/${rw_img_name}" if [ ! -f "${rw_img_path}" ] || [ "${DEBUG:-}" ] || [ "${FORCE:-}" ]; then - persistent_volume_size=100 - ${SUDO} dd if=/dev/zero of="${rw_img_path}" bs=1M count=${persistent_volume_size} + persistent_volume_size_MB=100 + ${SUDO} dd if=/dev/zero of="${rw_img_path}" bs=1M count=${persistent_volume_size_MB} ${SUDO} mkfs.vfat "${rw_img_path}" # generate structure on persistent partition