CreateImageWizard: don't allow arbitrary mountpoints under /boot

This commit is contained in:
Sanne Raymaekers 2023-08-17 17:13:49 +02:00 committed by Lucas Garfield
parent 29704a0725
commit 042af03052

View file

@ -76,7 +76,7 @@ const MountPoint = ({ ...props }) => {
return <SelectOption key={index} value={pfx} />;
})}
</Select>
{prefix !== '/' && (
{prefix !== '/' && !prefix.startsWith('/boot') && (
<TextInput
className="pf-u-w-50"
type="text"