deploy-workbench: increase persistence partition

allow more snapshots on the persistence partition

from 10 to 100 MiB
This commit is contained in:
pedro 2024-09-20 16:51:48 -03:00
parent d53d8eb4d0
commit f1de55e0b3
1 changed files with 2 additions and 1 deletions

View File

@ -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