distro: add support for RHEL-9.2

Add relevant repo definitions and generate image test manifests.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
Tomáš Hozza 2022-10-25 10:15:30 +02:00 committed by Tomáš Hozza
parent fc95dac86a
commit a001da966a
48 changed files with 725299 additions and 0 deletions

View file

@ -120,6 +120,18 @@ var distroMap = map[string]distribution{
runner: "org.osbuild.rhel91",
defaultImageConfig: defaultDistroImageConfig,
},
"rhel-92": {
name: "rhel-92",
product: "Red Hat Enterprise Linux",
osVersion: "9.2",
releaseVersion: "9",
modulePlatformID: "platform:el9",
vendor: "redhat",
ostreeRefTmpl: "rhel/9/%s/edge",
isolabelTmpl: "RHEL-9-2-0-BaseOS-%s",
runner: "org.osbuild.rhel92",
defaultImageConfig: defaultDistroImageConfig,
},
"centos-9": {
name: "centos-9",
product: "CentOS Stream",
@ -645,6 +657,14 @@ func NewRHEL91HostDistro(name, modulePlatformID, ostreeRef string) distro.Distro
return newDistro("rhel-91")
}
func NewRHEL92() distro.Distro {
return newDistro("rhel-92")
}
func NewRHEL92HostDistro(name, modulePlatformID, ostreeRef string) distro.Distro {
return newDistro("rhel-92")
}
func NewCentos() distro.Distro {
return newDistro("centos-9")
}

View file

@ -30,6 +30,7 @@ var supportedDistros = []supportedDistro{
{rhel8.NewCentos, rhel8.NewCentosHostDistro},
{rhel9.New, rhel9.NewHostDistro},
{rhel9.NewRHEL91, rhel9.NewRHEL91HostDistro},
{rhel9.NewRHEL92, rhel9.NewRHEL92HostDistro},
{rhel9.NewCentos, rhel9.NewCentosHostDistro},
}