-
Notifications
You must be signed in to change notification settings - Fork 103
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
No space left on device while trying to install some packages #341
Comments
The top level More info and instructions with examples are here - https://github.com/mkaczanowski/packer-builder-arm?tab=readme-ov-file#resizing-image |
Thank you for your response, I tried this
But I have an error with the image resizing
And I have the same error when I try to build : https://github.com/mkaczanowski/packer-builder-arm/blob/master/boards/raspberry-pi/raspbian-resize.json |
I think the error is because the requested size is smaller than the current image size qemu-img: warning: Shrinking an image will delete all data beyond the shrunken images end.
Before performing such an operation, make sure there is no important data there.
Look at the archlinux example here for building from scratch - https://github.com/mkaczanowski/packer-builder-arm/blob/master/boards/raspberry-pi/archlinuxarm.json#L10. Might have to look around for a debian example. |
I have a problem with my packer configuration.
I use the shell type provisioner to install the packages via scripts but I have a problem with the allocated disk space
my builder section
I'm assigning 5G so I don't really understand how it's possible
In my provisioner section I just do
And my script is very simple:
Here is some logs:
The text was updated successfully, but these errors were encountered: