-
Notifications
You must be signed in to change notification settings - Fork 155
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
Accept a fixed partition size for reset partition in autoinstall.yaml #1880
Accept a fixed partition size for reset partition in autoinstall.yaml #1880
Conversation
3a7c13d
to
c88b41a
Compare
There's some underlying serialization issues since attempting to union primitives upsets serialize.py as it seems only taking unions of non-primitive types. Is this intentional? EDIT: new overridden commits fixed the issue. |
3789b31
to
8edbf6d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, LGTM! Just a few minor tweaks
8edbf6d
to
58bfe12
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to see some doc/reference/autoinstall-reference.rst material for this, but then I see now that reset-partition isn't documented yet. Unfortunate. @medicalwei would you add some content for this in the reference and ignore the bit where the reset_partition bool isn't documented yet?
3a416c8
to
61d748d
Compare
@dbungert Reference added, and I hope my writing style doesn't look strange |
This changeset will allow reset_partition to accept int or human-readable disk size (e.g. "12G"), so that the size of reset partition can be fixed. This will be used for some OEM deployments and automated testing where overwriting or updating reset partition is necessary.