Skip to content
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

cloudapi: Add optional image size support #3589

Closed
wants to merge 1 commit into from

Conversation

bcl
Copy link
Contributor

@bcl bcl commented Jul 31, 2023

This adds a 'size' parameter to the image_request object. It can be used to specify the minimum image size in bytes.

This behaves in the same way as the size parameter of the weldr API.

For raw images the root partition is grown to fill the available space. For LVM images the PV uses the available space, but the LV does not, leaving space available for other LVs to be created after boot.

See COMPOSER-1883

This pull request includes:

  • adequate testing for the new functionality or fixed issue
  • adequate documentation informing people about the change such as

This adds a 'size' parameter to the image_request object. It can be used
to specify the minimum image size in bytes.

This behaves in the same way as the size parameter of the weldr API.

For raw images the root partition is grown to fill the available space.
For LVM images the PV uses the available space, but the LV does not,
leaving space available for other LVs to be created after boot.

See COMPOSER-1883
@ondrejbudai
Copy link
Member

FWIW this looks good. :)

@bcl
Copy link
Contributor Author

bcl commented Aug 3, 2023

Closing in favor of #3597

@bcl bcl closed this Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants