Skip to content

Commit 6c9dee8

Browse files
committed
try reducing expansion
1 parent d2460d5 commit 6c9dee8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mount.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,11 +152,11 @@ if [ "$ImgType" == "Canonical" ]; then
152152
if [ "$rubik" = true ]; then
153153
# Expand the image by 2GB (reduced from 10GB to fit GitHub Actions disk space)
154154
echo "=== Expanding image by 2GB ==="
155-
dd if=/dev/zero bs=1M count=2048 >> "$ROOTFS_IMG"
156-
else
157-
# Expand the image by 1GB
158-
echo "=== Expanding image by 1GB ==="
159155
dd if=/dev/zero bs=1M count=1024 >> "$ROOTFS_IMG"
156+
else
157+
# Expand the image by 512MB
158+
echo "=== Expanding image by 512MB ==="
159+
dd if=/dev/zero bs=1M count=512 >> "$ROOTFS_IMG"
160160
fi
161161

162162
if [ "$rubik" != true ]; then

0 commit comments

Comments
 (0)