stages(sgdisk): support label option
We only support `gpt` here so it would seem this option doesn't make much sense to add, but it will make it so that the mpp-define-images from osbuild-mpp can be passed in to `org.osbuild.sgdisk` just as it can be passed in today to `org.osbuild.sfdisk`.
This commit is contained in:
parent
fc185dae8c
commit
151b6e48ae
3 changed files with 7 additions and 2 deletions
|
|
@ -35,6 +35,11 @@ SCHEMA_2 = r"""
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": true
|
"default": true
|
||||||
},
|
},
|
||||||
|
"label": {
|
||||||
|
"description": "The type of the partition table. Only 'gpt' supported.",
|
||||||
|
"type": "string",
|
||||||
|
"enum": ["gpt"]
|
||||||
|
},
|
||||||
"partitions": {
|
"partitions": {
|
||||||
"description": "Partition layout ",
|
"description": "Partition layout ",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
|
|
||||||
|
|
@ -1216,7 +1216,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "org.osbuild.sfdisk",
|
"type": "org.osbuild.sgdisk",
|
||||||
"devices": {
|
"devices": {
|
||||||
"device": {
|
"device": {
|
||||||
"type": "org.osbuild.loopback",
|
"type": "org.osbuild.loopback",
|
||||||
|
|
|
||||||
|
|
@ -143,7 +143,7 @@ pipelines:
|
||||||
filename: disk.img
|
filename: disk.img
|
||||||
size:
|
size:
|
||||||
mpp-format-string: '{image.size}'
|
mpp-format-string: '{image.size}'
|
||||||
- type: org.osbuild.sfdisk
|
- type: org.osbuild.sgdisk
|
||||||
devices:
|
devices:
|
||||||
device:
|
device:
|
||||||
type: org.osbuild.loopback
|
type: org.osbuild.loopback
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue