Wizard: Add FSC alert for bare metal images
FSC customisations are not being applied to bare metal - installer images, this adds an alert to make users aware of the fact.
This commit is contained in:
parent
8e185a6498
commit
e2d46640f9
1 changed files with 13 additions and 0 deletions
|
|
@ -302,6 +302,12 @@ const FileSystemConfiguration = ({ ...props }) => {
|
|||
return <Spinner size="lg" />;
|
||||
}
|
||||
|
||||
const hasIsoTarget = () => {
|
||||
const isoTarget =
|
||||
getState().values['target-environment']?.['image-installer'];
|
||||
return isoTarget;
|
||||
};
|
||||
|
||||
return (
|
||||
<FormSpy>
|
||||
{() => (
|
||||
|
|
@ -355,6 +361,13 @@ const FileSystemConfiguration = ({ ...props }) => {
|
|||
</Button>
|
||||
</Text>
|
||||
</TextContent>
|
||||
{hasIsoTarget() && (
|
||||
<Alert
|
||||
variant="warning"
|
||||
isInline
|
||||
title="Filesystem customizations are not applied to 'Bare metal - Installer' images"
|
||||
/>
|
||||
)}
|
||||
<Table
|
||||
aria-label="File system table"
|
||||
className={isDragging && styles.modifiers.dragOver}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue