Skip to main content

org.osbuild.bootc.install-to-filesystem

Run bootc install to-filesystem

Note that this needs the disk.img in the inputs as one continuous devices so that bootupd can install grub to the mbr. It also needs all relevant mount points for booting (e.g. /boot, /boot/efi) in mounted in the "mounts" path. Buildhost commands used: bootc

Schema 1

{}

Schema 2

{
"inputs": {
"type": "object",
"additionalProperties": false,
"required": [
"images"
],
"properties": {
"images": {
"type": "object",
"additionalProperties": true
}
}
},
"options": {
"additionalProperties": false,
"properties": {
"root-ssh-authorized-keys": {
"description": "array of SSH Public Keys to add to roots authorized_keys",
"type": "array",
"items": {
"type": "string"
}
},
"kernel-args": {
"description": "array of additional kernel arguments",
"type": "array",
"items": {
"type": "string"
}
},
"target-imgref": {
"description": "Specify the image to fetch for subsequent updates",
"type": "string"
},
"stateroot": {
"type": "string",
"description": "The stateroot name to use. If not specified, defer to bootc's default"
},
"root-mount-spec": {
"type": "string",
"description": "Source device specification for the root filesystem. If not provided, the UUID of the target filesystem will be used."
},
"boot-mount-spec": {
"type": "string",
"description": "Mount specification for the /boot filesystem. If `/boot` is detected as a mounted partition, then its UUID will be used."
}
}
},
"devices": {
"type": "object",
"additionalProperties": true
},
"mounts": {
"type": "array"
}
}