distro/rhel90: rename to rhel-90-beta and alias base name
This commit is contained in:
parent
b81d58b895
commit
972b9ee14e
2 changed files with 7 additions and 1 deletions
|
|
@ -16,7 +16,8 @@ import (
|
|||
"github.com/osbuild/osbuild-composer/internal/rpmmd"
|
||||
)
|
||||
|
||||
const defaultName = "rhel-90"
|
||||
const defaultName = "rhel-90-beta"
|
||||
const baseAliasName = "rhel-90"
|
||||
const osVersion = "9.0"
|
||||
const releaseVersion = "9"
|
||||
const modulePlatformID = "platform:el9"
|
||||
|
|
@ -487,6 +488,10 @@ func New() distro.Distro {
|
|||
return newDistro(defaultName, modulePlatformID, ostreeRef)
|
||||
}
|
||||
|
||||
func NewRHEL90() distro.Distro {
|
||||
return newDistro(baseAliasName, modulePlatformID, ostreeRef)
|
||||
}
|
||||
|
||||
func NewHostDistro(name, modulePlatformID, ostreeRef string) distro.Distro {
|
||||
return newDistro(name, modulePlatformID, ostreeRef)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ var supportedDistros = []supportedDistro{
|
|||
{rhel85.New, rhel85.NewHostDistro},
|
||||
{rhel86.New, rhel86.NewHostDistro},
|
||||
{rhel90.New, rhel90.NewHostDistro},
|
||||
{rhel90.NewRHEL90, rhel90.NewHostDistro},
|
||||
}
|
||||
|
||||
type supportedDistro struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue