diff --git a/internal/distro/rhel85/distro.go b/internal/distro/rhel85/distro.go index 18fd49784..a132a06c0 100644 --- a/internal/distro/rhel85/distro.go +++ b/internal/distro/rhel85/distro.go @@ -17,7 +17,6 @@ import ( ) const defaultName = "rhel-85" -const rhel86Name = "rhel-86" const osVersion = "8.5" const releaseVersion = "8" const modulePlatformID = "platform:el8" @@ -462,10 +461,6 @@ func New() distro.Distro { return newDistro(defaultName, modulePlatformID, ostreeRef) } -func NewRHEL86() distro.Distro { - return newDistro(rhel86Name, modulePlatformID, ostreeRef) -} - func NewHostDistro(name, modulePlatformID, ostreeRef string) distro.Distro { return newDistro(name, modulePlatformID, ostreeRef) } diff --git a/internal/distroregistry/distroregistry.go b/internal/distroregistry/distroregistry.go index 6fe070643..069bd3708 100644 --- a/internal/distroregistry/distroregistry.go +++ b/internal/distroregistry/distroregistry.go @@ -10,6 +10,7 @@ import ( "github.com/osbuild/osbuild-composer/internal/distro/rhel8" "github.com/osbuild/osbuild-composer/internal/distro/rhel84" "github.com/osbuild/osbuild-composer/internal/distro/rhel85" + "github.com/osbuild/osbuild-composer/internal/distro/rhel86" "github.com/osbuild/osbuild-composer/internal/distro/rhel90" ) @@ -24,7 +25,7 @@ var supportedDistros = []supportedDistro{ {rhel84.New, rhel84.NewHostDistro}, {rhel84.NewCentos, rhel84.NewCentosHostDistro}, {rhel85.New, rhel85.NewHostDistro}, - {rhel85.NewRHEL86, rhel85.NewHostDistro}, + {rhel86.New, rhel86.NewHostDistro}, {rhel90.New, rhel90.NewHostDistro}, }