CreateImageWizard: Add CentOS acknowledgement

Adds a PF4 info <Alert> that informs users that CentOS is intended only
for development of RHEL-Next if CentOS is the selected distro in the
Image Output step.
This commit is contained in:
lucasgarfield 2022-06-28 10:39:21 +02:00 committed by Sanne Raymaekers
parent f6a98d2dca
commit 489d6a334f
4 changed files with 77 additions and 0 deletions

View file

@ -15,6 +15,7 @@ import Select from '@data-driven-forms/pf4-component-mapper/select';
import FileSystemConfiguration from './formComponents/FileSystemConfiguration';
import FileSystemConfigToggle from './formComponents/FileSystemConfigToggle';
import ImageOutputReleaseSelect from './formComponents/ImageOutputReleaseSelect';
import CentOSAcknowledgement from './formComponents/CentOSAcknowledgement';
const ImageCreator = ({
schema,
@ -53,6 +54,7 @@ const ImageCreator = ({
'file-system-config-toggle': FileSystemConfigToggle,
'file-system-configuration': FileSystemConfiguration,
'image-output-release-select': ImageOutputReleaseSelect,
'centos-acknowledgement': CentOSAcknowledgement,
...customComponentMapper,
}}
onCancel={onClose}