test/data: move kickstart to the iso root

Intead of overwriting the standard ananconda kickstart file, we
move it to the root of the iso. To have anaconda pick it up an
additional kernel command line parameter is required.
This commit is contained in:
Christian Kellner 2021-07-14 18:12:13 +00:00 committed by Tom Gundersen
parent c77170a924
commit a19e261dbe
2 changed files with 23 additions and 19 deletions

View file

@ -1720,11 +1720,17 @@
"path": "99-generic/runtime-postinstall.tmpl",
"basearch": "x86_64"
}
},
}
]
},
{
"name": "bootiso-tree",
"build": "name:build",
"stages": [
{
"type": "org.osbuild.kickstart",
"options": {
"path": "/usr/share/anaconda/interactive-defaults.ks",
"path": "install.ks",
"ostree": {
"osname": "fedora",
"url": "file:///ostree/repo",
@ -1740,13 +1746,7 @@
}
}
}
}
]
},
{
"name": "bootiso-tree",
"build": "name:build",
"stages": [
},
{
"type": "org.osbuild.bootiso.mono",
"inputs": {
@ -1785,7 +1785,8 @@
"bcj": "x86"
}
}
}
},
"kernel_opts": "inst.ks=hd:LABEL=Fedora-34-X86_64:/install.ks"
}
},
{

View file

@ -493,11 +493,17 @@
"mpp-format-string": "{arch}"
}
}
},
}
]
},
{
"name": "bootiso-tree",
"build": "name:build",
"stages": [
{
"type": "org.osbuild.kickstart",
"options": {
"path": "/usr/share/anaconda/interactive-defaults.ks",
"path": "install.ks",
"ostree": {
"osname": "fedora",
"url": "file:///ostree/repo",
@ -515,13 +521,7 @@
}
}
}
}
]
},
{
"name": "bootiso-tree",
"build": "name:build",
"stages": [
},
{
"type": "org.osbuild.bootiso.mono",
"inputs": {
@ -566,6 +566,9 @@
"bcj": "x86"
}
}
},
"kernel_opts": {
"mpp-format-string": "inst.ks=hd:LABEL={isolabel}:/install.ks"
}
}
},