-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Last partition is not consistently grown even when target_image_size is set #54
Labels
Comments
Just confirming, I am also seeing this problem on macOS. Does not happen when I run on Debian or Ubuntu. |
i am using fedora and wasnt able to reproduce this as well.. any more info to help debug this is appreciated |
Edit: Moving this to a new issue I'm trying this on a Debian image. It consistently claims to resize the image:
But when I check
2GB is what's in the original image. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When running the
packer-builder-arm
out of a Docker container (Jan 25 release on MacOS, which shouldn't matter), the second image partition is inconsistently resized. My json file specifies thetarget_image_size
properly and it seems like every 3rd or 4th build the image resizes. Otherwise, theGrowing partition to 4096 M
step is completely skipped (which results in running out of space in the image when I perform an apt-get dist-upgrade). I've included the output of two different attempted builds - both run with the exact same command.Here's the builder snippet from my packer json file:
Here's the output when the partition doesn't get expanded:
vs when the partition growing actually gets invoked:
The text was updated successfully, but these errors were encountered: