Closed cgwalters closed 7 months ago
To use this, execute e.g. growpart /dev/vda 4
Also I should have clarified I think the better fix here is for bib to grow the ability to pick the size of the target image (xref https://github.com/osbuild/bootc-image-builder/issues/52 )
This is a relatively small shell script, and was already split out from cloud-init to support use cases like ours.
systemd-repart is a lot nicer but it isn't yet designed for our use case (root is not Discoverable Partition).
Also systemd-repart doesn't handle LVM which this script tries to support.
(IMO the real solution to stuff like this is either Stratis or equivalent)