Target Component
Other (Please specify in description)
What problem does this solve?
Update lib/openrelik_worker_common/mount_utils.py to support LVM2_member partition type
Proposed Solution
This is probably going to be quite a lot of work, but for every partition (and the whole qcow2 file if it's not coming with a partition table) we will have to:
- get the VG name with
sudo pvs --noheadings -o vg_name /dev/nbd0 | tr -d " "
- sudo vgchange -ay <vg_name>
- iterate over /dev/<vg_name>/* to get all the partitions that we might want to parse
Alternatives Considered
No response
Contribution
Target Component
Other (Please specify in description)
What problem does this solve?
Update lib/openrelik_worker_common/mount_utils.py to support LVM2_member partition type
Proposed Solution
This is probably going to be quite a lot of work, but for every partition (and the whole qcow2 file if it's not coming with a partition table) we will have to:
sudo pvs --noheadings -o vg_name /dev/nbd0 | tr -d " "Alternatives Considered
No response
Contribution