diff --git a/internal/distro/rhel8/distro.go b/internal/distro/rhel8/distro.go index 7a6b5de2e..0ee59ad7d 100644 --- a/internal/distro/rhel8/distro.go +++ b/internal/distro/rhel8/distro.go @@ -116,6 +116,18 @@ var distroMap = map[string]distribution{ runner: "org.osbuild.rhel86", defaultImageConfig: defaultDistroImageConfig, }, + "rhel-84": { + name: "rhel-84", + product: "Red Hat Enterprise Linux", + osVersion: "8.4", + releaseVersion: "8", + modulePlatformID: "platform:el8", + vendor: "redhat", + ostreeRefTmpl: "rhel/8/%s/edge", + isolabelTmpl: "RHEL-8-4-0-BaseOS-%s", + runner: "org.osbuild.rhel84", + defaultImageConfig: defaultDistroImageConfig, + }, "rhel-85": { name: "rhel-85", product: "Red Hat Enterprise Linux", @@ -624,6 +636,14 @@ func NewHostDistro(name, modulePlatformID, ostreeRef string) distro.Distro { return newDistro("rhel-8") } +func NewRHEL84() distro.Distro { + return newDistro("rhel-84") +} + +func NewRHEL84HostDistro(name, modulePlatformID, ostreeRef string) distro.Distro { + return newDistro("rhel-84") +} + func NewRHEL85() distro.Distro { return newDistro("rhel-85") } diff --git a/internal/distroregistry/distroregistry.go b/internal/distroregistry/distroregistry.go index 6ca3ec8d4..7631ad802 100644 --- a/internal/distroregistry/distroregistry.go +++ b/internal/distroregistry/distroregistry.go @@ -10,7 +10,6 @@ import ( "github.com/osbuild/osbuild-composer/internal/distro/fedora" "github.com/osbuild/osbuild-composer/internal/distro/rhel7" "github.com/osbuild/osbuild-composer/internal/distro/rhel8" - "github.com/osbuild/osbuild-composer/internal/distro/rhel84" "github.com/osbuild/osbuild-composer/internal/distro/rhel90" ) @@ -21,8 +20,8 @@ var supportedDistros = []supportedDistro{ {fedora.NewF35, fedora.NewHostDistro}, {fedora.NewF36, fedora.NewHostDistro}, {rhel7.New, rhel7.NewHostDistro}, - {rhel84.New, rhel84.NewHostDistro}, {rhel8.New, rhel8.NewHostDistro}, + {rhel8.NewRHEL84, rhel8.NewRHEL84HostDistro}, {rhel8.NewRHEL85, rhel8.NewRHEL85HostDistro}, {rhel8.NewRHEL86, rhel8.NewRHEL86HostDistro}, {rhel8.NewRHEL87, rhel8.NewRHEL87HostDistro},