diff --git a/src/Components/CreateImageWizard/steps/Oscap/OscapProfileInformation.tsx b/src/Components/CreateImageWizard/steps/Oscap/OscapProfileInformation.tsx index 6b3419a1..56259526 100644 --- a/src/Components/CreateImageWizard/steps/Oscap/OscapProfileInformation.tsx +++ b/src/Components/CreateImageWizard/steps/Oscap/OscapProfileInformation.tsx @@ -38,6 +38,7 @@ export const OscapProfileInformation = ({ const compliancePolicyID = useAppSelector(selectCompliancePolicyID); const complianceProfileID = useAppSelector(selectComplianceProfileID); + const isKernelEnabled = useFlag('image-builder.kernel.enabled'); const isServicesStepEnabled = useFlag('image-builder.services.enabled'); const { @@ -133,6 +134,23 @@ export const OscapProfileInformation = ({ > {oscapProfile?.profile_id} + {!isKernelEnabled && ( + <> + + Kernel arguments: + + + + + {oscapProfileInfo?.kernel?.append} + + + + + )} {!isServicesStepEnabled && ( <>