distro/rhel8: make rhel-8 point to rhel-87

Make RHEL 8 without a minor version point to RHEL 8.7, the current GA
version.
This commit is contained in:
Achilleas Koutsou 2023-01-17 16:10:04 +01:00 committed by Tomáš Hozza
parent e4bb7f4f16
commit c617b3b98c

View file

@ -125,7 +125,7 @@ func (d *distribution) getDefaultImageConfig() *distro.ImageConfig {
// New creates a new distro object, defining the supported architectures and image types
func New() distro.Distro {
// default minor: create default minor version (current GA) and rename it
d := newDistro("rhel", 6)
d := newDistro("rhel", 7)
d.name = "rhel-8"
return d