distro: add an alias for rhel-91
We would benefit from having support for 9.1 downstream so let's add it in the form of an alias. This is a bare minimum for having a proper 9.1 support. Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
parent
f212e6690d
commit
8575620591
5 changed files with 178 additions and 1 deletions
|
|
@ -86,6 +86,18 @@ var distroMap = map[string]distribution{
|
|||
runner: "org.osbuild.rhel90",
|
||||
defaultImageConfig: defaultDistroImageConfig,
|
||||
},
|
||||
"rhel-91": {
|
||||
name: "rhel-91",
|
||||
product: "Red Hat Enterprise Linux",
|
||||
osVersion: "9.1",
|
||||
releaseVersion: "9",
|
||||
modulePlatformID: "platform:el9",
|
||||
vendor: "redhat",
|
||||
ostreeRefTmpl: "rhel/9/%s/edge",
|
||||
isolabelTmpl: "RHEL-9-1-0-BaseOS-%s",
|
||||
runner: "org.osbuild.rhel91",
|
||||
defaultImageConfig: defaultDistroImageConfig,
|
||||
},
|
||||
"centos-9": {
|
||||
name: "centos-9",
|
||||
product: "CentOS Stream",
|
||||
|
|
@ -626,6 +638,14 @@ func NewHostDistro(name, modulePlatformID, ostreeRef string) distro.Distro {
|
|||
return newDistro("rhel-90")
|
||||
}
|
||||
|
||||
func NewRHEL91() distro.Distro {
|
||||
return newDistro("rhel-91")
|
||||
}
|
||||
|
||||
func NewRHEL91HostDistro(name, modulePlatformID, ostreeRef string) distro.Distro {
|
||||
return newDistro("rhel-91")
|
||||
}
|
||||
|
||||
func NewCentos() distro.Distro {
|
||||
return newDistro("centos-9")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue