src/constants: switch to RHEL 9.2

This commit is contained in:
Sanne Raymaekers 2023-05-09 15:20:13 +02:00
parent e8a40e27dc
commit 454cfba5e8
2 changed files with 4 additions and 4 deletions

View file

@ -3,7 +3,7 @@ export const RHSM_API = '/api/rhsm/v2';
export const CONTENT_SOURCES = '/api/content-sources/v1';
export const PROVISIONING_SOURCES_ENDPOINT = '/api/provisioning/v1/sources';
export const RHEL_8 = 'rhel-87';
export const RHEL_9 = 'rhel-91';
export const RHEL_9 = 'rhel-92';
export const CENTOS_8 = 'centos-8';
export const CENTOS_9 = 'centos-9';

View file

@ -169,7 +169,7 @@ export const handlers = [
baseURL.concat('/api/image-builder/v1/architectures/:distro'),
(req, res, ctx) => {
const { distro } = req.params;
if (distro === 'rhel-91') {
if (distro === 'rhel-92') {
return res(
ctx.status(200),
ctx.json([
@ -178,7 +178,7 @@ export const handlers = [
repositories: [
{
baseurl:
'https://cdn.redhat.com/content/dist/rhel9/9.1/x86_64/baseos/os',
'https://cdn.redhat.com/content/dist/rhel9/9.2/x86_64/baseos/os',
rhsm: true,
},
],
@ -188,7 +188,7 @@ export const handlers = [
repositories: [
{
baseurl:
'https://cdn.redhat.com/content/dist/rhel9/9.1/aarch64/baseos/os',
'https://cdn.redhat.com/content/dist/rhel9/9.2/aarch64/baseos/os',
rhsm: true,
},
],