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

Ability to specify image size on creation #840

Closed
jgiardino opened this issue Dec 5, 2019 · 0 comments
Closed

Ability to specify image size on creation #840

jgiardino opened this issue Dec 5, 2019 · 0 comments
Assignees
Milestone

Comments

@jgiardino
Copy link
Contributor

jgiardino commented Dec 5, 2019

Currently, Image Builder generates images that are of fixed size. This is almost never the size that people need, because they want to, for example, install additional software or run software that has larger storage requirements (such as Image Builder itself). In practice, this means people always have to manually resize the generated image to the size they require.

To make this easier, let’s allow specifying the size when creating the image.

Acceptance criteria:

  1. Image size can be set via the compose API (new size key) and in the front end
  2. The image list in the front end shows the image size as well
  3. Images continue fulfilling alignment requirements (Azure wants 1MB, for example: https://docs.microsoft.com/en-us/azure/virtual-machines/linux/create-upload-generic)

Nice to have:

  1. Image size can be set from composer-cli (maybe with --size?) as well.
  2. Research suitable defaults and min / max values for all output formats.

The issue for the API is osbuild/osbuild-composer#145

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

No branches or pull requests

2 participants