From f1de55e0b3775c497228760bde49034f6a406188 Mon Sep 17 00:00:00 2001 From: pedro Date: Fri, 20 Sep 2024 16:51:48 -0300 Subject: [PATCH] deploy-workbench: increase persistence partition allow more snapshots on the persistence partition from 10 to 100 MiB --- deploy-workbench.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy-workbench.sh b/deploy-workbench.sh index 7a8a972..00c83ec 100755 --- a/deploy-workbench.sh +++ b/deploy-workbench.sh @@ -189,7 +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 - ${SUDO} dd if=/dev/zero of="${rw_img_path}" bs=10M count=1 + persistent_volume_size=100 + ${SUDO} dd if=/dev/zero of="${rw_img_path}" bs=1M count=${persistent_volume_size} ${SUDO} mkfs.vfat "${rw_img_path}" # generate structure on persistent partition