File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed
src/Pages/Templates/TemplatesTable/components Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ const AddTemplateBase = () => {
143143 </ WizardStep > ,
144144 < WizardStep
145145 isDisabled = { checkIfCurrentStepValid ( 2 ) }
146- name = 'Custom Repositories '
146+ name = 'Custom repositories '
147147 id = 'custom_repositories'
148148 key = 'custom_repositories_key'
149149 footer = { { ...sharedFooterProps , isNextDisabled : checkIfCurrentStepValid ( 3 ) } }
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export default function DefineContentStep() {
4545 . map ( ( { label, name } ) => ( { value : label , children : name } ) ) ;
4646
4747 const allowedDistributionVersions = distribution_versions
48- . filter ( ( { label } ) => [ '8' , '9' ] . includes ( label ) )
48+ . filter ( ( { label } ) => [ '8' , '9' , '10' ] . includes ( label ) )
4949 . map ( ( { label, name } ) => ( { value : label , children : name } ) ) ;
5050
5151 return (
Original file line number Diff line number Diff line change @@ -16,6 +16,11 @@ export const hardcodeRedHatReposByArchAndVersion = (
1616 'https://cdn.redhat.com/content/dist/rhel9/9/x86_64/appstream/os' ,
1717 'https://cdn.redhat.com/content/dist/rhel9/9/x86_64/baseos/os' ,
1818 ] ;
19+ case arch === 'x86_64' && version === '10' :
20+ return [
21+ 'https://cdn.redhat.com/content/beta/rhel10/10/x86_64/appstream/os' ,
22+ 'https://cdn.redhat.com/content/beta/rhel10/10/x86_64/baseos/os' ,
23+ ] ;
1924 case arch === 'aarch64' && version === '8' :
2025 return [
2126 'https://cdn.redhat.com/content/dist/rhel8/8/aarch64/appstream/os' ,
@@ -26,6 +31,11 @@ export const hardcodeRedHatReposByArchAndVersion = (
2631 'https://cdn.redhat.com/content/dist/rhel9/9/aarch64/appstream/os' ,
2732 'https://cdn.redhat.com/content/dist/rhel9/9/aarch64/baseos/os' ,
2833 ] ;
34+ case arch === 'aarch64' && version === '10' :
35+ return [
36+ 'https://cdn.redhat.com/content/beta/rhel10/10/aarch64/appstream/os' ,
37+ 'https://cdn.redhat.com/content/beta/rhel10/10/aarch64/baseos/os' ,
38+ ] ;
2939
3040 default :
3141 return ;
You can’t perform that action at this time.
0 commit comments