stages/dracut: write only one config file
Instead of supporting writing an arbitrary number of configuration files, just write one. This makes the stage and its schema clearer and simpler. If more than one config file is needed, the stage can be repeated multiple times. It is also more flexible since we can in the future specify additional options at the top level which will then be per-file, like a top-level comment.
This commit is contained in:
parent
a1703dc298
commit
0190c991ae
3 changed files with 99 additions and 116 deletions
|
|
@ -457,12 +457,11 @@
|
|||
{
|
||||
"name": "org.osbuild.dracut.conf",
|
||||
"options": {
|
||||
"filename": "sgdisk.conf",
|
||||
"config": {
|
||||
"sgdisk.conf": {
|
||||
"install_items": [
|
||||
"sgdisk"
|
||||
]
|
||||
}
|
||||
"install_items": [
|
||||
"sgdisk"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,12 +32,11 @@
|
|||
{
|
||||
"name": "org.osbuild.dracut.conf",
|
||||
"options": {
|
||||
"filename": "sgdisk.conf",
|
||||
"config": {
|
||||
"sgdisk.conf": {
|
||||
"install_items": [
|
||||
"sgdisk"
|
||||
]
|
||||
}
|
||||
"install_items": [
|
||||
"sgdisk"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue