weldr: use rhel-8 repos for all RHEL 8.x distros
This commit is contained in:
parent
6789bcca98
commit
34b5c5b3f1
1 changed files with 2 additions and 1 deletions
|
|
@ -11,6 +11,7 @@ import (
|
|||
"net/http"
|
||||
"os"
|
||||
"path"
|
||||
"strings"
|
||||
|
||||
"github.com/osbuild/osbuild-composer/internal/cloudapi"
|
||||
"github.com/osbuild/osbuild-composer/internal/common"
|
||||
|
|
@ -87,7 +88,7 @@ func (c *Composer) InitWeldr(repoPaths []string, weldrListener net.Listener) err
|
|||
|
||||
// TODO: refactor to be more generic
|
||||
name := hostDistro.Name()
|
||||
if name == "rhel-84" {
|
||||
if strings.HasPrefix(name, "rhel-8") {
|
||||
name = "rhel-8"
|
||||
}
|
||||
if beta {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue