Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devices: add new
vg_partnum
parameter
This is needed for bootc where all mounts need to be from the same physical disk/loop so that bootupd works. The idea is that in the manifest the new option `vg_partnum` is added and the parent VG is found via the partition number of the full image similar to the `partnum` from osbuild#1501 A manifest using this feature looks like this: ```json "devices": { "disk": { "type": "org.osbuild.loopback", "options": { "filename": "disk.raw", "partscan": true } }, "rootlv": { "type": "org.osbuild.lvm2.lv", "parent": "disk", "options": { "volume": "rootlv", "vg_partnum": 4 } } } ``` Co-authored-by: Michael Vogt <[email protected]>
- Loading branch information