diskimage-builder/diskimage_builder/elements/growvols/tests
Steve Baker 9fa139511e Check and grow the GPT structure to the end of the volume
In the baremetal case this isn't required because it is done by
ironic-python-agent when writing the image to the volume[1].

But when using the image directly (such as in a nova VM) the GPT
structure needs to be extended first. This change does that, along
with the detection for whether extending is required, using the same
approach as [1].

[1] https://github.com/openstack/ironic-lib/blob/master/ironic_lib/disk_utils.py#L670-L674

Co-Authored-By: rminishev@itkey.com
Co-Authored-By: sbaker@redhat.com

Change-Id: I3240eb0ef4dbbb41557985f0129ae4998a846417
2023-03-23 22:14:44 +00:00
..
__init__.py Add a growvols utility for growing LVM volumes 2021-07-01 11:16:31 +12:00
test_growvols.py Check and grow the GPT structure to the end of the volume 2023-03-23 22:14:44 +00:00