Skip to main content

org.osbuild.grub2.iso.legacy

Install a grub config and supporting files, suitable for a BIOS booting ISO

Schema 1

{}

Schema 2

{
"options": {
"additionalProperties": false,
"required": [
"product",
"kernel",
"isolabel"
],
"properties": {
"grub2dir": {
"description": "Directory to install grub.cfg into",
"type": "string",
"default": "boot/grub2"
},
"product": {
"type": "object",
"additionalProperties": false,
"required": [
"name",
"version"
],
"properties": {
"name": {
"type": "string"
},
"version": {
"type": "string"
}
}
},
"kernel": {
"type": "object",
"required": [
"dir"
],
"properties": {
"dir": {
"type": "string"
},
"opts": {
"description": "Array options to append to the kernel command",
"type": "array",
"items": {
"type": "string"
}
}
}
},
"isolabel": {
"type": "string"
},
"fips": {
"type": "boolean"
},
"troubleshooting": {
"type": "boolean",
"default": true
},
"test": {
"type": "boolean",
"default": true
},
"install": {
"type": "boolean",
"default": true
},
"platform": {
"type": "string",
"enum": [
"i386-pc",
"powerpc-ieee1275"
],
"default": "i386-pc"
},
"custom": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"name",
"linux",
"initrd"
],
"properties": {
"name": {
"type": "string"
},
"linux": {
"type": "string"
},
"initrd": {
"type": "string"
}
}
}
},
"config": {
"description": "Configuration options for grub itself",
"type": "object",
"additionalProperties": false,
"properties": {
"timeout": {
"description": "Timeout in seconds",
"type": "integer",
"minimum": 0,
"default": 60
},
"default": {
"description": "Default menu entry",
"type": "integer"
}
}
}
}
}
}