Adjust Openstack output to the Lorax one
This commit is contained in:
parent
72a54b9c0e
commit
ed2dd9829c
2 changed files with 23 additions and 6 deletions
|
|
@ -5,10 +5,25 @@ import "github.com/osbuild/osbuild-composer/internal/pipeline"
|
|||
type openstackOutput struct{}
|
||||
|
||||
func (t *openstackOutput) translate(b *Blueprint) *pipeline.Pipeline {
|
||||
p := getF30Pipeline()
|
||||
packages := [...]string{
|
||||
"@Core",
|
||||
"chrony",
|
||||
"kernel",
|
||||
"selinux-policy-targeted",
|
||||
"grub2-pc",
|
||||
"spice-vdagent",
|
||||
"qemu-guest-agent",
|
||||
"xen-libs",
|
||||
"langpacks-en",
|
||||
"cloud-init",
|
||||
"libdrm",
|
||||
}
|
||||
p := getCustomF30PackageSet(packages[:], []string{})
|
||||
addF30LocaleStage(p)
|
||||
addF30FSTabStage(p)
|
||||
addF30GRUB2Stage(p)
|
||||
addF30SELinuxStage(p)
|
||||
addF30FixBlsStage(p)
|
||||
addF30QemuAssembler(p, "qcow2", t.getName())
|
||||
return p
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,16 +46,14 @@
|
|||
"spice-vdagent",
|
||||
"qemu-guest-agent",
|
||||
"xen-libs",
|
||||
"langpacks-en"
|
||||
"langpacks-en",
|
||||
"cloud-init",
|
||||
"libdrm"
|
||||
],
|
||||
"releasever": "30",
|
||||
"basearch": "x86_64"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "org.osbuild.fix-bls",
|
||||
"options": {}
|
||||
},
|
||||
{
|
||||
"name": "org.osbuild.locale",
|
||||
"options": {
|
||||
|
|
@ -90,6 +88,10 @@
|
|||
"options": {
|
||||
"file_contexts": "etc/selinux/targeted/contexts/files/file_contexts"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "org.osbuild.fix-bls",
|
||||
"options": {}
|
||||
}
|
||||
],
|
||||
"assembler": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue