forked from wrenn/wrenn
On startup EnsureImageSizes expands the minimal rootfs to the configured disk size. This adds the inverse: ShrinkMinimalImage runs e2fsck + resize2fs -M during graceful shutdown so the image is stored compactly on disk.
On startup EnsureImageSizes expands the minimal rootfs to the configured disk size. This adds the inverse: ShrinkMinimalImage runs e2fsck + resize2fs -M during graceful shutdown so the image is stored compactly on disk.